wp_get_direct_php_update_url


wp_get_direct_php_update_url ( No parameters )

Returns:
  • (string) URL for directly updating PHP or empty string.
Defined at:

Description

Gets the URL for directly updating the PHP version the site is running on.

A URL will only be returned if the WP_DIRECT_UPDATE_PHP_URL environment variable is specified or by using the {@see 'wp_direct_php_update_url'} filter. This allows hosts to send users directly to the page where they can update PHP to a newer version.

Related Functions

wp_direct_php_update_button, wp_get_default_update_php_url, wp_get_update_php_url, wpmu_admin_redirect_add_updated_param, wp_get_update_data

Top Google Results

User discussions

wpseek mobile