aioseo_seo_preview_disable
aioseo_seo_preview_disable
Appears in: all-in-one-seo-pack.4.7.9.1, all-in-one-seo-pack.4.8.0, all-in-one-seo-pack.4.8.1, all-in-one-seo-pack.4.8.1.1
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.4.8.1.1apply_filters('aioseo_seo_preview_disable') is found 1 times:
- /app/Common/Standalone/SeoPreview.php line 433940414243444546474849
* @since 4.2.8
*/
public
function
__construct() {
// Allow users to disable SEO Preview.
if
( apply_filters(
'aioseo_seo_preview_disable'
, false ) ) {
return
;
}
// Hook into `wp` in order to have access to the WP queried object.
add_action(
'wp'
, [
$this
,
'init'
], 20 );
}