aioseo_page_builder_integration_themes

aioseo_page_builder_integration_themes

Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.8.1.1

apply_filters('aioseo_page_builder_integration_themes') is found 1 times:

  • /app/Common/Standalone/PageBuilders/Base.php line 129
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    *
     * @return bool Whether or not the theme is active.
     */
    public function isThemeActive() {
        $themes = apply_filters( 'aioseo_page_builder_integration_themes', $this->themes, $this->integrationSlug );
     
        $theme = wp_get_theme();
        foreach ( $themes as $name ) {
            if ( $name === $theme->stylesheet || $name === $theme->template ) {
                return true;
            }