Theme is packed with filter hooks that allow you to extend pretty much everything you see on your website. Below is a list of filter hooks found inside Bizznis parent theme.
Filter | Location | Value | Description |
---|---|---|---|
Theme Initiation | |||
bizznis_formatting_allowedtags | lib / functions / formatting.php | $output | Applied to allowed formatting tags, used by wp_kses(). |
Theme Options | |||
bizznis_pre_get_option_$key | lib / functions / options.php | null, $setting | Allows developer to shortcut specific option by option key. |
bizznis_options | lib / functions / options.php | get_option( $setting ), $setting | Filter all theme options from database. |
bizznis_term_meta_defaults | lib / functions / options.php | array() | Filter default term meta options. |
bizznis_term_meta_$field | lib / functions / options.php | $value, $term, $taxonomy | Filter term field for sanitization. |
bizznis_term_meta | lib / functions / options.php | $term->meta, $term, $taxonomy | Filter whole term meta options. |
bizznis_settings_field | lib / init.php | ‘bizznis-settings’ | Filter theme settings field name in database. |
bizznis_seo_settings_field | lib / init.php | ‘bizznis-seo-settings’ | Filter theme SEO settings field name in databse. |
bizznis_theme_settings_menu_ops | lib / admin / settings-general.php | array() | Filter theme settings menu labels in admin. |
bizznis_theme_settings_defaults | lib / admin / settings-general.php | array() | Filter theme settings defaults in admin. |
bizznis_seo_settings_menu_ops | lib / admin / settings-seo.php | array() | Filter seo settings menu labels in admin. |
bizznis_seo_settings_defaults | lib / admin / settings-seo.php | array() | Filter seo settings defaults in admin. |
Header | |||
bizznis_pre_load_favicon | lib / frontend / header.php | false | Allows developers to shortcut favicon loading and disable it if needed. |
bizznis_favicon_url | lib / frontend / header.php | $favicon | Allows developers to shortcut favicon image path. |
bizznis_canonical | lib / frontend / header.php | $canonical | Filters canonical meta link inside site <head> |
bizznis_header_scripts | lib / frontend / header.php | bizznis_get_option( ‘header_scripts’ ) | Filters header scripts, set inside Themes Settings |
bizznis_seo_title | lib / frontend / header.php | $title, $inside, $wrap | Filters the output of the bizznis_seo_site_title function which depending on the SEO option set by the user will either wrap the title in <h1> or <p> tags. |
bizznis_seo_description | lib / frontend / header.php | $description, $inside, $wrap | Filters the output of the bizznis_seo_site_description function which depending on the SEO option set by the user will either wrap the description in <h1> or <p> tags. |
bizznis_show_header_content | lib / frontend / structure.php | true | Filters the output of the whole site header and allows developers to define when the header content is visible and when not. Great if you want to hide logo on sub-pages. |
Navigation Menus | |||
nav_primary_before | lib / frontend / menu.php | ” | Ouput HTML content before primary wp_nav_menu() functions. |
nav_primary_after | lib / frontend / menu.php | ” | Ouput HTML content after primary wp_nav_menu() function. |
bizznis_do_nav | lib / frontend / menu.php | $nav_output, $nav, $args | Filter whole Primary menu output. |
nav_secondary_before | lib / frontend / menu.php | ” | Ouput HTML content before secondary wp_nav_menu() functions. |
nav_secondary_after | lib / frontend / menu.php | ” | Ouput HTML content after secondary wp_nav_menu() function. |
bizznis_do_subnav | lib / frontend / menu.php | $nav_output, $nav, $args | Filter whole Secondary menu output. |
bizznis_toggle_open_text | lib / frontend / menu.php | __( ‘Menu’, ‘bizznis’ ) | Filter mobile responsive menu open text. |
bizznis_toggle_close_text | lib / frontend / menu.php | __( ‘Close Menu’, ‘bizznis’ ) | Filter mobile responsive menu close text. |
Breadcrumbs | |||
bizznis_breadcrumbs_ops | lib / functions / breadcrumb.php | array() | Filter breadcrumbs options. |
bizznis_breadcrumb_args | lib / functions / breadcrumb.php | $args | Filter breadcrumb arguments. |
Content Loop | |||
bizznis_loop_args | lib / frontend / loops.php | array() | Filter the default loop. Use inside template file to avoid site-wide issues. |
bizznis_post_title_text | lib / frontend / post.php | get_the_title() | Filter entry title. |
bizznis_link_post_title | lib / frontend / post.php | true | Optionally disable entry title links. |
bizznis_post_title_output | lib / frontend / post.php | $output | Filter whole entry title output. |
bizznis_edit_post_link | lib / frontend / post.php | true | Optionally disable post edit link. |
bizznis_noposts_text | lib / frontend / post.php | __( ‘Sorry, no content matched your criteria.’, ‘bizznis’ ) | Filter text when there are no posts to show. |
bizznis_post_info | lib / frontend / post.php | ‘ ‘ . __( ‘by’, ‘bizznis’ ) . ‘ Leave a Comment ‘ | Filter post info shortcodes. In entry header. |
bizznis_post_meta | lib / frontend / post.php | ‘ ‘ | Filter post meta shortcodes. In entry footer. |
bizznis_author_box_gravatar_size | lib / frontend / post.php | 70, $context | Filter author box gravatar size. |
bizznis_author_box_title | lib / frontend / post.php | sprintf( ‘%s <span itemprop=”name”>%s</span>’, __( ‘About’, ‘bizznis’ ), get_the_author() ), $context | Filter author box title output. |
bizznis_prev_link_text | lib / frontend / post.php | ‘« ‘ . __( ‘Previous Page’, ‘bizznis’ ) | Filter previous page text. |
bizznis_next_link_text | lib / frontend / post.php | __( ‘Next Page’, ‘bizznis’ ) . ‘ »’ | Filter next page text. |
Comments | |||
bizznis_title_comments | lib / frontend / comments.php | __( ‘<h3>Comments</h3>’, ‘bizznis’ ) | Filter comments title. |
bizznis_prev_comments_link_text | lib / frontend / comments.php | ” | Filter label for previous comments link. |
bizznis_next_comments_link_text | lib / frontend / comments.php | ” | Filter label for next comments link. |
bizznis_no_comments_text | lib / frontend / comments.php | ” | Add text, when no comments are present. By default there is no text present. |
bizznis_comments_closed_text | lib / frontend / comments.php | ” | Add text, when comments are closed. By default there is no text present. |
bizznis_title_pings | lib / frontend / comments.php | __( ‘<h3>Trackbacks</h3>’, ‘bizznis’ ) | Filter pingbacks title. |
bizznis_no_pings_text | lib / frontend / comments.php | ” | Add text, when no pingbacks are present. By default there is no text present. |
bizznis_ping_list_args | lib / frontend / comments.php | array() | Filter arguments for pingbacks list. |
bizznis_comment_list_args | lib / frontend / comments.php | array() | Filter arguments for comments list. |
comment_author_says_text | lib / frontend / comments.php | __( ‘says’, ‘bizznis’ ) | Filter says’ text. |
bizznis_comment_time | lib / frontend / comments.php | ‘<time itemprop=”commentTime” datetime=”%s”><a href=”%s” itemprop=”url”>%s %s %s</a></time>’, $comment | Filter comment time definition. |
bizznis_comment_awaiting_moderation | lib / frontend / comments.php | __( ‘Your comment is awaiting moderation.’, ‘bizznis’ ) | Filter text for comment awaiting moderation. |
bizznis_comment_form_args | lib / frontend / comments.php | $args, $user_identity, get_the_ID(), $commenter, $req, $aria_req | Filter the whole comment form output. |
Footer | |||
bizznis_footer_widget_areas | lib / frontend / footer.php | $output, $footer_widgets | Filters the whole footer widgets output. |
bizznis_footer_backtotop_text | lib / frontend / footer.php | Return to top | Filters back to top link in footer |
bizznis_footer_creds_text | lib / frontend / footer.php | %s © 2023 · BookingWP %s [footer_bizznis_link url=”http://www.bizznis.com/” before=””] [footer_bizzthemes_link url=”http://www.bookingwp.com/” before=”%s “] · WordPress · Log in | Filters all footer links, set by various shortcodes. |
bizznis_footer_output | lib / frontend / footer.php | $output, $backtotop_text, $creds_text | Filters the whole output of footer credits and links. |
bizznis_footer_scripts | lib / frontend / footer.php | bizznis_option( ‘footer_scripts’ ) | Filters header scripts, set inside Themes Settings |
Search | |||
bizznis_search_title_text | search.php | __( ‘Search Results for:’, ‘bizznis’ ) | Filters title, when browsing through search results. |
bizznis_search_title_output | search.php | $title | Filters whole title structure, when browsing through search results. |
the_search_query | lib / frontend / search.php | get_search_query() | Filters search text, visible on blur inside search form, when user has submitted a search form. |
bizznis_search_text | lib / frontend / search.php | __( ‘Search this website’, ‘bizznis’ ) | Filters search text, visible on blur inside search form, but when search isn’t active. |
bizznis_search_button_text | lib / frontend / search.php | __( ‘Search’, ‘bizznis’ ) | Filters search form button. |
bizznis_search_form_label | lib / frontend / search.php | ” | Filters search form label. |
bizznis_search_form | lib / frontend / search.php | $form, $search_text, $button_text, $label | Filters the entire search form. |
Widgets | |||
bizznis_register_sidebar_defaults | lib / functions / widgetize.php | array() | Filters some default values for registering widgets. |
SEO Plugins | |||
bizznis_detect_seo_plugins | lib / functions / seo.php | array() | Filters list of external SEO plugins that add constants, classes or functions. |
Markup | |||
bizznis_attr_$context | lib / functions / markup.php | $attributes, $context | Filter contextual array of attributes. |
bizznis_parse_attr_class | lib / functions / markup.php | $classes, $context | Filter custom classes per context. |
bizznis_attr_$context_output | lib / functions / markup.php | $output, $attributes, $context | Filter list of attributes per context. |
Admin Toggles | |||
bizznis_toggles | lib / functions / load-scripts.php | $toggles | Filter admin settings toggle deifinitions. |
Layouts | |||
bizznis_site_layout | lib / functions /layouts.php | null | Shortcut site layout for different contexts. |
bizznis_initial_layouts | lib / frontend / layouts.php | array() | Filter default layouts. |
Image | |||
bizznis_get_image_default_args | lib / functions / image.php | array() | Filter default image return arguments. |
bizznis_pre_get_image | lib / functions / image.php | false, $args, $post | Shortcut image return value. |
bizznis_get_image | lib / functions / image.php | $output, $args, $id, $html, $url, $src | Filter final image return value. |