FacetWP implements Registerable, Premium_Service
Handles integration with FacetWP
Tags
Interfaces, Classes and Traits
- Registerable
- Premium_Service
Table of Contents
- register() : mixed
- {@inheritdoc}
- render_document_library() : string
- Load the document library if template begins with 'dlp_'.
- get_no_documents_message() : string
- Get the no documents message.
- get_posts_table_script() : string
- Generate script tag to re-init posts table after facet loading.
Methods
register()
{@inheritdoc}
public
register() : mixed
Return values
mixed —render_document_library()
Load the document library if template begins with 'dlp_'.
public
render_document_library(string $output, FacetWP_Renderer $renderer) : string
Parameters
- $output : string
- $renderer : FacetWP_Renderer
Return values
string —get_no_documents_message()
Get the no documents message.
private
get_no_documents_message(array<string|int, mixed> $custom_args) : string
Parameters
- $custom_args : array<string|int, mixed>
Return values
string —get_posts_table_script()
Generate script tag to re-init posts table after facet loading.
private
get_posts_table_script() : string