woocommerce_hide_php_wp_nag filter-hook . WC 3.6.5
Notice about WordPress and PHP minimum requirements.
Usage
add_filter( 'woocommerce_hide_php_wp_nag', 'filter_function_name_9267' ); function filter_function_name_9267( $user_meta ){ // filter... return $user_meta; }
- $user_meta
- -
Changelog
Since 3.6.5 | Introduced. |
Where the hook is called
woocommerce_hide_php_wp_nag
woocommerce/includes/admin/class-wc-admin-notices.php 443
if ( apply_filters( 'woocommerce_hide_php_wp_nag', get_user_meta( get_current_user_id(), 'dismissed_' . WC_PHP_MIN_REQUIREMENTS_NOTICE . '_notice', true ) ) ) {