Filter & Action Hook Reference

The wide range of theme filter and action hooks will allow you to easily customize your theme via a child theme or custom plugins.

Actions

Please visit the following page to view all theme action hooks →

Browse Filters by Category

All Filters

Note: This list is updated manually so there may be hooks available that are not yet listed. If you need any help locating a specific filter or action hook please ask for help via the ThemeForest comments or open a private ticket.
Hook Return Usage
wpex_display_header bool

Set to true to display the header or false to hide it.

wpex_header_classes array

Returns a list of classes to be added to the main header wrap.

wpex_header_logo_img_url string

Returns the URL for your header logo image.

wpex_logo_url string

Returns the URL to add to the link surrounding your header logo

wpex_logo_title string

Returns the title to be added to the title and alt attributes surrounding the header logo.

wpex_header_style string

Returns the header style. Default is “one”.

wpex_meta_viewport html

Returns the meta viewport tag to be added to the wp_head.

wpex_is_top_bar_enabled bool

Conditional check to see if the top bar should display or not.

top_bar_social_img_url string

The directory URL that should be used for your top bar social links when set to the image style.

wpex_mobile_menu_open_button_text string

Returns the text or HTML to display for the mobile menu toggle button. Default is ‘<span class=”fa fa-bars”></span>’.

wpex_custom_menu integer

Used to alter the main menu area to display a menu from a custom ID.

wpex_main_menu_location string

Used to alter the default menu location used for the main header menu. Default is ‘main_menu’.

wpex_search_placeholder_text string

Returns the placeholder text for all searchforms.

wpex_password_protected_excerpt string

The excerpt to display above the protected post password form.

wpex_theme_post_types array

Array of the custom post types that are enabled for the theme. Use to completely remove any un-desired post type.

wpex_main_layout string

Used to alter the main site layout. Return values should be “boxed” or “full-width”.

wpex_toggle_bar_active bool

Conditional check to see if the Toggle Bar should be enabled for a certain page.

wpex_toggle_bar_page_id integer

The page ID to be used for the content within the Toggle Bar.

wpex_display_footer bool

Conditional check whether the site footer should display or not.

wpex_prev_post_link_same_cat bool

Conditional check for the next and previous post links. Set to true to display next/prev posts from the same category.

wpex_prev_post_link_title string

Used to alter the default title for your next and previous post links. Default is ‘%title’.

wpex_blog_wrap_classes array

Array of classes to be added to the main wrapper around your blog posts.

wpex_mobile_searchform_placeholder string

The placeholder text for the mobile menu searchform.

wpex_blog_entry_style string

The blog entry style for the current archive. Default is ‘large-image-entry-style’.

wpex_blog_entry_columns integer

The number of columns to display the current blog archive in. Will only work for the grid style.

wpex_post_slider_shortcode string

The shortcode to be used for the current page slider. Can be used not only to override the default but can also be used to add sliders to archives.

wpex_post_slider_position string

The position in which the slider should return. Default is “below_title”.

wpex_image_width integer

Can be used to alter the width for any featured image either on the single post or archive.

wpex_image_height integer

Can be used to alter the height for any featured image either on the single post or archive.

wpex_topbar_social_options array

Array of all social options to be used for the top bar social area.

wpex_related_staff_args array

Arguments for the related staff items query.

wpex_comments_title string

Can be used to alter the default Comments title.

wpex_portfolio_args array

Main arguments for the register_post_type function for the Portfolio post type.

wpex_staff_args array

Main arguments for the register_post_type function for the Staff post type.

wpex_post_subheading string

Alters or adds a new subheading under the main page header title.

wpex_skins array

Array of skins for the theme, can be used to create your own skin, sweet!

wpex_related_portfolio_args array

Arguments for the related portfolio items query.

wpex_author_bio_avatar_size integer

Alters the default avatar size used in the author bio section for your single blog posts.

wpex_tiny_mce_formats_items $array

Returns the array of $items for the TinyMCE editor “Formats” dropdown.

wpex_blog_entry_author_avatar_size integer

Alters the default avatar size for the blog entry avatars when enabled.