woocommerce_hide_php_wp_nag

woocommerce_hide_php_wp_nag

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.1.1

apply_filters('woocommerce_hide_php_wp_nag') is found 1 times:

  • /includes/admin/class-wc-admin-notices.php line 482

    * @since 3.6.5
    * @return void
    */
    public static function wp_php_min_requirements_notice() {
    if ( apply_filters( ‘woocommerce_hide_php_wp_nag’, get_user_meta( get_current_user_id(), ‘dismissed_’ . WC_PHP_MIN_REQUIREMENTS_NOTICE . ‘_notice’, true ) ) ) {
    self::remove_notice( WC_PHP_MIN_REQUIREMENTS_NOTICE );
    return;
    }

    $old_php = version_compare( phpversion(), WC_NOTICE_MIN_PHP_VERSION, ‘<' ); $old_wp = version_compare( get_bloginfo( 'version' ), WC_NOTICE_MIN_WP_VERSION, '<' ); [/php]