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.7.4.2

apply_filters('aioseo_page_builder_integration_themes') is found 1 times:

  • /app/Common/Standalone/PageBuilders/Base.php line 129
    	 *
    	 * @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;
    			}