YoastWPSEOshould_invalidate_opcache
YoastWPSEOshould_invalidate_opcache
Appears in: wordpress-seo.26.1.1, wordpress-seo.26.3, wordpress-seo.26.4, wordpress-seo.26.6, wordpress-seo.26.8
Hook Type: filter
Displaying hooks found in version: wordpress-seo.26.8apply_filters('YoastWPSEOshould_invalidate_opcache') is found 1 times:
- /wp-seo-main.php line 356
* @since 26.1 * * @param bool $should_invalidate Whether opcache should be invalidated. */ $should_invalidate_opcache = (bool) apply_filters( 'Yoast\WP\SEO\should_invalidate_opcache', $should_invalidate_opcache ); 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();