yoast_ga_self_deactivate_filter_input
Throw an error if the filter extension is disabled (prevent white screens) and self-deactivate plugin.
Description
yoast_ga_self_deactivate_filter_input();
Usage
if ( !function_exists( 'yoast_ga_self_deactivate_filter_input' ) ) { require_once ABSPATH . PLUGINDIR . 'google-analytics-by-yoast/googleanalytics.php'; } // NOTICE! Understand what this does before running. $result = yoast_ga_self_deactivate_filter_input();
Defined (1)
The function is defined in the following location(s).
- /googleanalytics.php
- function yoast_ga_self_deactivate_filter_input() {
- if ( is_admin() ) {
- esc_html__( 'The (standard) PHP filter extension seem to be unavailable. Please ask your web host to enable it.', 'google-analytics-for-wordpress' )
- );
- }
- }