Reference › Cost rankings › Functions that reach the network
WordPress 7.1.0PHP 8.5top 88
Functions that reach the network
Calling one of these during a page render puts a remote host in your critical path. Ranked by how many places in core call them, because that is how often the cost is paid on your behalf.
Counted from the compiled opcodes, identical on any machine running the same PHP version. How this is measured.
- 1wp_remote_get()
Performs an HTTP request using the GET method and returns its response.
http20 callers20core callers - 2wp_remote_post()
Performs an HTTP request using the POST method and returns its response.
http9 callers9core callers - 3themes_api()
Retrieves theme installer pages from the WordPress.org Themes API.
httpqueryoptionhookloops8 callers8core callers - 4plugins_api()
Retrieves plugin installer pages from the WordPress.org Plugins API.
httpqueryoptionhook8 callers8core callers - 5wp_safe_remote_get()
Retrieves the raw response from a safe HTTP request using the GET method.
http8 callers8core callers - 66core callers
- 7wp_version_check()
Checks WordPress version against the newest version.
httpqueryoptionhookloops5 callers5core callers - 8wp_update_plugins()
Checks for available updates to plugins based on the latest versions hosted on WordPress.org.
httpqueryoptionhook5 callers5core callers - 9wp_update_themes()
Checks for available updates to themes based on the latest versions hosted on WordPress.org.
httpqueryoptionhookloops4 callers4core callers - 104core callers
- 11get_theme_feature_list()
Retrieves list of WordPress theme features (aka theme tags).
httpqueryoptionhookloops3 callers3core callers - 12download_url()
Downloads a URL to a local temporary file using the WordPress HTTP API.
httpfilesystemqueryoption3 callers3core callers - 13install_plugin_install_status()
Determines the status we can perform on a plugin.
httpfilesystemqueryoptionloops3 callers3core callers - 14get_core_checksums()
Gets and caches the checksums for the given version of WordPress.
httpqueryoptionhook3 callers3core callers - 15wp_get_https_detection_errors()
Runs a remote HTTPS request to detect whether HTTPS supported, and stores potential errors.
httpqueryoptionhook3 callers3core callers - 163core callers
- 172core callers
- 18show_blog_form()
Generates and displays the Sign-up and Create Site forms.
httpqueryoptionhook2 callers2core callers - 19wp_get_plugin_action_button()
Gets the markup for the plugin install action button.
httpqueryoptionhookloops2 callers2core callers - 202core callers
- 212core callers
- 22signup_blog()
Shows a form for a user or visitor to sign up for a new site.
httpqueryoptionhook2 callers2core callers - 232core callers
- 24wp_get_available_translations()
Get available translations from the WordPress.org API.
httpqueryoptionhookloops2 callers2core callers - 25wp_safe_remote_post()
Retrieves the raw response from a safe HTTP request using the POST method.
http2 callers2core callers - 26wp_safe_remote_head()
Retrieves the raw response from a safe HTTP request using the HEAD method.
http2 callers2core callers - 272core callers
- 28wp_edit_theme_plugin_file()
Attempts to edit a file for a theme or plugin.
httpfilesystemqueryoption1 caller1core callers - 291core callers
- 30get_block_editor_settings()
Returns the contextualized block editor settings for a selected editor context.
httpqueryoptionhook1 caller1core callers - 311core callers
- 32signup_another_blog()
Shows a form for returning users to sign up for another site.
httpqueryoptionhookloops1 caller1core callers - 33spawn_cron()
Sends a request to run cron through HTTP request that doesn't halt page loading.
httpqueryoptionhook1 caller1core callers - 34discover_pingback_server_uri()
Finds a pingback server URI based on the given URL.
httpqueryoptionhook1 caller1core callers - 351core callers
- 36_wp_cron()
Runs scheduled callbacks or spawns cron for all scheduled events.
httpqueryoptionhookloops1 caller1core callers - 371core callers
- 38wp_install_maybe_enable_pretty_permalinks()
Maybe enable pretty permalinks on installation.
httpqueryoptionhookloops1 caller1core callers - 391core callers
- 401core callers
- 41do_enclose()
Checks content for video and audio links to add as enclosures.
httpqueryoptionhookloops1 caller1core callers - 42_fetch_remote_file()
Retrieve URL headers and content using WP HTTP Request API.
httphookloops1 caller1core callers - 431core callers
- 441core callers
- 45get_block_editor_theme_styles()
Creates an array of theme styles to load into the block editor.
httpqueryoptionhookloops1 caller1core callers - 46wp_is_https_supported()
Checks whether HTTPS is supported for the server and domain.
httpqueryoptionhook1 caller1core callers - 470core callers
- 480core callers
- 490core callers
- 500core callers
- 510core callers
- 520core callers
- 530core callers
- 540core callers
- 55wp_get_popular_importers()
Returns a list from WordPress.org of popular importer plugins.
httpqueryoptionhookloops0core callers - 560core callers
- 570core callers
- 580core callers
- 590core callers
- 600core callers
- 61media_sideload_image()
Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post.
httpfilesystemqueryoption0core callers - 620core callers
- 630core callers
- 640core callers
- 650core callers
- 660core callers
- 670core callers
- 680core callers
- 69install_themes_feature_list()
Retrieves the list of WordPress theme features (aka theme tags).
httpqueryoptionhook0core callers - 700core callers
- 710core callers
- 720core callers
- 730core callers
- 740core callers
- 750core callers
- 760core callers
- 77wp_update_https_detection_errors()
Runs a remote HTTPS request to detect whether HTTPS supported, and stores potential errors.
httpqueryoptionhook0core callers - 780core callers
- 790core callers
- 80_maybe_update_plugins()
Checks the last time plugins were run before checking plugin versions.
httpqueryoptionhook0core callers - 810core callers
- 820core callers
- 830core callers
- 840core callers
- 85dashboard_php_nag_class()
Adds an additional class to the PHP nag if the current version is insecure.
httpqueryoptionhook0core callers - 860core callers
- 87dashboard_browser_nag_class()
Adds an additional class to the browser nag if the current version is insecure.
httpqueryoptionhook0core callers - 880core callers