Packages

CAWeb

CAWebModuleExtension

ds

Reports

Errors

Markers

Indices

Files

inc/filters.php

CAWeb Theme Filters

Table of Contents

Filters

WordPress Hook: body_class

Description: Filters the list of CSS body class names for the current post or page.

Callback Function: caweb_body_class

Priority: 20

Arguments: 2

Source: inc/filters.php : 39

WordPress Hook: post_class

Callback Function: caweb_post_class

Priority: 15

Source: inc/filters.php : 79

Functions

caweb_add_unfiltered_html_capability() Enable unfiltered_html capability for Administrators.
 caweb_add_unfiltered_html_capability(mixed||string|int $caps,  $cap,  $user_id) : array
Return values

array

caweb_allowed_html() CAWeb Allowed HTML for wp_kses
 caweb_allowed_html(mixed||string|int $allowedposttags, string|array $context) : array
Return values

array

caweb_allowed_redirect_hosts() CAWeb Allowed Redirected Hosts
 caweb_allowed_redirect_hosts(mixed||string|int $hosts) : array
Return values

array

caweb_body_class() CAWeb Page Body Class
 caweb_body_class(mixed||string|int $wp_classes, mixed||string|int $extra_classes) : array
Return values

array

caweb_default_events_template_classes() Allows filtering the classes for the main element for the /events/ page.
 caweb_default_events_template_classes(string||string|int $classes) : mixed
Return values

mixed

caweb_post_class() CAWeb Post Body Class
 caweb_post_class(mixed||string|int $classes) : array
Return values

array

caweb_redirect_if_author_parameter() Redirects to home page if Author Parameter is in the URL
 caweb_redirect_if_author_parameter() : void
Return values

void

caweb_safe_style_css() Safe Style CSS
 caweb_safe_style_css(mixed||string|int $styles) : array
Return values

array

caweb_script_loader_tag() CAWeb Script Loader Tags Filters the HTML script tag of an enqueued script.
 caweb_script_loader_tag( $tag,  $handle,  $src) : string
Return values

string

caweb_theme_page_templates() CAWeb Theme Page Templates Filters list of page templates for a theme.
 caweb_theme_page_templates(mixed||string|int $templates) : array
Return values

array

caweb_wpforms_custom_capability() Change WPForms capability requirement.
 caweb_wpforms_custom_capability( $cap) : string
Return values

string

caweb_xmlrpc_enabled() CAWeb Disable XMLRPC
 caweb_xmlrpc_enabled() : bool
Return values

bool