aioseo_schema_disable

aioseo_schema_disable

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

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

apply_filters('aioseo_schema_disable') is found 1 times:

  • /app/Common/Schema/Helpers.php line 25
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    */
    public function isEnabled() {
        $isEnabled = ! in_array( 'enableSchemaMarkup', aioseo()->internalOptions->deprecatedOptions, true ) || aioseo()->options->deprecated->searchAppearance->global->schema->enableSchemaMarkup;
     
        return ! apply_filters( 'aioseo_schema_disable', ! $isEnabled );
    }
     
    /**
     * Strips HTML and removes all blank properties in each of our graphs.
     * Also parses properties that might contain smart tags.
     *