classic_theme_helper_should_display_portfolios

classic_theme_helper_should_display_portfolios

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.14.5

apply_filters('classic_theme_helper_should_display_portfolios') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/class-jetpack-portfolio.php line 173
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
         * @since 0.11.0
         *
         * @param bool $should_display Whether portfolios should be displayed.
         */
        return apply_filters( 'classic_theme_helper_should_display_portfolios', $should_display );
    }
     
    /**
     * Add a checkbox field in 'Settings' > 'Writing'
     * for enabling CPT functionality.
     *