FacetWP implements Registerable, Service

Handles integration with FacetWP

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
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
Tags
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
Tags
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>
Tags
Return values
string

get_posts_table_script()

Generate script tag to re-init posts table after facet loading.

private get_posts_table_script() : string
Tags
Return values
string

Search results