Hooks: Core

← Back to all hooks
Hook Return Usage
wpex_excerpt_args array

Filters default arguments for the wpex_get_excerpt function

wpex_overlay_styles_array array

Used to add/remove/tweak the “Overlay Styles” available in the theme.

wpex_gallery_metabox_post_types array

Array of post types that should have the “Gallery Metabox” in the admin.

wpex_has_breadcrumbs bool

Return true to display breadcrumbs.

wpex_custom_widgets array

Array of custom widgets added by the theme. Should be used only to remove widgets you don’t want.

wpex_customizer_panels array

Array of panels added to the Customizer.

wpex_typography_settings array

Array of typography settings. Can be used to remove or add settings.

wpex_has_next_prev bool

Whether a post should display the next/previous links.

wpex_get_schema_markup string

Returns correct schema markup for specific theme locations.

wpex_vc_css_ids array

Returns an array of post/page ID’s that will be checked for WPbakery custom CSS and if CSS is found that CSS will be loaded for all pages.

wpex_{post_type}_single_blocks array

Returns correct layout for the single post type display.

wpex_{post_type}_single_thumbnail_args array

Returns arguments for the entry post thumbnail for any custom post type using the theme’s cpt-entry-media.php template file

wpex_template_parts array

Array of template part locations for main template parts (togglebar, topbar, header, logo, header aside, menu, page title, callout, footer…etc)

wpex_google_font_enqueue_weights array

Returns array of font-weights to be used for the enqueued Google fonts by the theme.

wpex_google_font_enqueue_italics bool

Returns true/false if you want to load italic versions of the Google fonts on your site.

wpex_dashboard_thumbnails bool

Used to enable/disable the thumbnail display in the WP dashboard.

wpex_oembed_responsive_hosts array

Array of oEmbed websites that should receive the Total theme’s responsive wrapper added to them.

wpex_get_post_layouts array

Returns array of post layout options (right-sidebar, left-sidebar, full-width, full-screen) used for the Customizer and Theme Settings meta options.

wpex_get_user_social_profile_settings_array array

Returns array for user profile links. Used for author boxes.

wpex_visibility array

Returns an array of visibility options. Used for various Customizer and shortcode settings.

wpex_social_button_styles array

Returns an array of social button styles to choose from. Used in the Customizer and in shortcode settings.