WordPress filter hook
xtfw_system_additional_check
Fired by 4 WordPress plugins, running on 4,560+ sites between them.
How to use xtfw_system_additional_check
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'xtfw_system_additional_check', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from XT Floating Cart for WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
4 plugins that fire xtfw_system_additional_check
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
XT Floating Cart for WooCommerce4,000+ installs
apply_filters( 'xtfw_system_additional_check', array( 'min_wp_version' => get_bloginfo( 'version' ), 'min_wc_version' => function_exists( 'WC' ) ? WC()->version : 'n/a', 'wp_memory_limit' => $wp_memory_limit, 'min_php_version' => $php_version, 'min_tls_version' => $tls, 'wp_cron_enabled' => ! ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ), 'mbstring_enabled' => extension_loaded( 'mbstring' ), 'simplexml_enabled' => extension_loaded( 's... )xt-framework/includes/class-system-status.php:1128 -
XT Variation Swatches for WooCommerce500+ installs
apply_filters( 'xtfw_system_additional_check', array( 'min_wp_version' => get_bloginfo( 'version' ), 'min_wc_version' => function_exists( 'WC' ) ? WC()->version : 'n/a', 'wp_memory_limit' => $wp_memory_limit, 'min_php_version' => $php_version, 'min_tls_version' => $tls, 'wp_cron_enabled' => ! ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ), 'mbstring_enabled' => extension_loaded( 'mbstring' ), 'simplexml_enabled' => extension_loaded( 's... )xt-framework/includes/class-system-status.php:1128 -
XT Points & Rewards for WooCommerce40+ installs
apply_filters( 'xtfw_system_additional_check', array( 'min_wp_version' => get_bloginfo( 'version' ), 'min_wc_version' => function_exists( 'WC' ) ? WC()->version : 'n/a', 'wp_memory_limit' => $wp_memory_limit, 'min_php_version' => $php_version, 'min_tls_version' => $tls, 'wp_cron_enabled' => ! ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ), 'mbstring_enabled' => extension_loaded( 'mbstring' ), 'simplexml_enabled' => extension_loaded( 's... )xt-framework/includes/class-system-status.php:1128 -
XT Catalog Mode for WooCommerce20+ installs
apply_filters( 'xtfw_system_additional_check', array( 'min_wp_version' => get_bloginfo( 'version' ), 'min_wc_version' => function_exists( 'WC' ) ? WC()->version : 'n/a', 'wp_memory_limit' => $wp_memory_limit, 'min_php_version' => $php_version, 'min_tls_version' => $tls, 'wp_cron_enabled' => ! ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ), 'mbstring_enabled' => extension_loaded( 'mbstring' ), 'simplexml_enabled' => extension_loaded( 's... )xt-framework/includes/class-system-status.php:1128
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.