wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_is_php_version_acceptable › Hooks de Filtros WordPress
Desde5.1.1
Obsoleton/a
› apply_filters( 'wp_is_php_version_acceptable', true, $version )
Parâmetros: (2) |
|
Definido em: |
|
Codex: |
Filters whether the active PHP version is considered acceptable by WordPress.
Returning false will trigger a PHP version warning to show up in the admin dashboard to administrators.
This filter is only run if the wordpress.org Serve Happy API considers the PHP version acceptable, ensuring that this filter can only make this check stricter, but not loosen it.
Funções relacionadas: is_php_version_compatible, is_wp_version_compatible, wp_check_php_version, wp_is_writable, wp_version_check, wp_revisions_enabled
Hooks relacionados: wp_php_error_message, wp_verify_nonce_failed, wp_post_revision_meta_keys, wp_theme_json_data_blocks, wp_php_error_args