Integrations implements Registerable
Theme and plugin integrations for Password Protected Categories.
Tags
Interfaces, Classes and Traits
- Registerable
Table of Contents
- dlp_determine_button_display() : bool
- Hide the DLP Grid template "preview" button when the post is locked.
- dlp_filter_get_terms_args() : mixed
- dlp_filter_terms() : array<string|int, mixed>
- Filter the terms returned by the DLP Search Filter widget.
- register() : mixed
- the_events_calendar() : mixed
- um_filter_get_terms_args() : bool
- Prevent the Ultimate Member plugin from filtering out protected terms.
Methods
dlp_determine_button_display()
Hide the DLP Grid template "preview" button when the post is locked.
public
dlp_determine_button_display(bool $display, object $document, string $link_text, string $link_style, string $view) : bool
Parameters
- $display : bool
- $document : object
- $link_text : string
- $link_style : string
- $view : string
Return values
bool —dlp_filter_get_terms_args()
public
dlp_filter_get_terms_args(mixed $term_args, mixed $taxonomy, mixed $config_args) : mixed
Parameters
- $term_args : mixed
- $taxonomy : mixed
- $config_args : mixed
Return values
mixed —dlp_filter_terms()
Filter the terms returned by the DLP Search Filter widget.
public
dlp_filter_terms(array<string|int, mixed> $terms, string $taxonomy, array<string|int, mixed> $args) : array<string|int, mixed>
Parameters
- $terms : array<string|int, mixed>
- $taxonomy : string
- $args : array<string|int, mixed>
Return values
array<string|int, mixed> —register()
public
register() : mixed
Return values
mixed —the_events_calendar()
public
the_events_calendar() : mixed
Return values
mixed —um_filter_get_terms_args()
Prevent the Ultimate Member plugin from filtering out protected terms.
public
um_filter_get_terms_args(bool $bail, array<string|int, mixed> $args, array<string|int, mixed> $taxonomies, object $protector) : bool
Parameters
- $bail : bool
-
Whether to bail early.
- $args : array<string|int, mixed>
-
The get_terms() arguments.
- $taxonomies : array<string|int, mixed>
-
The taxonomies to get terms from.
- $protector : object
-
The term protector.
Return values
bool —Whether to bail early.