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
inc/filters.php : 134
caweb_add_unfiltered_html_capability()
Enable unfiltered_html capability for Administrators.
caweb_add_unfiltered_html_capability(mixed||string|int $caps, $cap, $user_id) : arrayReturn values
array
inc/filters.php : 215
caweb_allowed_html()
CAWeb Allowed HTML for wp_kses
caweb_allowed_html(mixed||string|int $allowedposttags, string|array $context) : arrayReturn values
array
inc/filters.php : 188
caweb_allowed_redirect_hosts()
CAWeb Allowed Redirected Hosts
caweb_allowed_redirect_hosts(mixed||string|int $hosts) : arrayReturn values
array
inc/filters.php : 39
caweb_body_class()
CAWeb Page Body Class
caweb_body_class(mixed||string|int $wp_classes, mixed||string|int $extra_classes) : arrayReturn values
array
inc/filters.php : 164
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) : mixedReturn values
mixed
inc/filters.php : 79
caweb_post_class()
CAWeb Post Body Class
caweb_post_class(mixed||string|int $classes) : arrayReturn values
array
inc/filters.php : 317
caweb_safe_style_css()
Safe Style CSS
caweb_safe_style_css(mixed||string|int $styles) : arrayReturn values
array
inc/filters.php : 115
caweb_script_loader_tag()
CAWeb Script Loader Tags
Filters the HTML script tag of an enqueued script.
caweb_script_loader_tag( $tag, $handle, $src) : stringReturn values
string
inc/filters.php : 98
caweb_theme_page_templates()
CAWeb Theme Page Templates
Filters list of page templates for a theme.
caweb_theme_page_templates(mixed||string|int $templates) : arrayReturn values
array
inc/filters.php : 151
caweb_wpforms_custom_capability()
Change WPForms capability requirement.
caweb_wpforms_custom_capability( $cap) : stringReturn values
string
inc/filters.php : 176
caweb_xmlrpc_enabled()
CAWeb Disable XMLRPC
caweb_xmlrpc_enabled() : boolReturn values
bool