wpseo_schema_aggregator_cache_enabled

wpseo_schema_aggregator_cache_enabled

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.27.1.1

apply_filters('wpseo_schema_aggregator_cache_enabled') is found 1 times:

  • /src/schema-aggregator/infrastructure/config.php line 121
    	 *
    	 * @return bool True if caching is enabled, false otherwise.
    	 */
    	public function cache_enabled(): bool {
    		$enabled = \apply_filters( 'wpseo_schema_aggregator_cache_enabled', true );
    
    		if ( \is_bool( $enabled ) ) {
    			return $enabled;
    		}
    		else {
    			return true;