YoastWPSEOshould_invalidate_opcache
YoastWPSEOshould_invalidate_opcache
Appears in: wordpress-seo.26.1.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.26.1.1apply_filters('YoastWPSEOshould_invalidate_opcache') is found 1 times:
- /wp-seo-main.php line 352
* @since 26.1 * * @param bool $should_invalidate Whether opcache should be invalidated. */ $should_invalidate_opcache = (bool) apply_filters( 'Yoast\WP\SEO\should_invalidate_opcache', true ); if ( $should_invalidate_opcache && function_exists( 'opcache_reset' ) ) { // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged -- Prevent notices when opcache.restrict_api is set. @opcache_reset(); } new WPSEO_Upgrade();