Reference › Cost rankings › Most distinct cost outcomes
WordPress 7.1.0PHP 8.5top 100
Most distinct cost outcomes
Distinct ways one call can run, each with its own price, recovered from the control-flow graph. A high count means cost depends heavily on arguments and site state, so any single benchmark of these tells you very little.
Counted from the compiled opcodes, identical on any machine running the same PHP version. How this is measured.
- 14,000outcomes
- 2wp_hoist_late_printed_styles()
Adds the hooks needed for CSS output to be delayed until after the content of the page has been established.
sqlqueryoptionhookloops3,006outcomes - 3twentyfifteen_entry_meta()
Prints HTML with meta information for the categories, tags.
queryoptionhook2,740outcomes - 42,016outcomes
- 51,912outcomes
- 6download_url()
Downloads a URL to a local temporary file using the WordPress HTTP API.
httpfilesystemqueryoption3 callers1,716outcomes - 7customize_themes_print_templates()
Prints JS templates for the theme-browsing UI in the Customizer.
queryoptionhook1,568outcomes - 81,536outcomes
- 91,514outcomes
- 10wpmu_validate_user_signup()
Sanitizes and validates data required for a user sign-up.
sqlqueryoptionhook3 callers1,224outcomes - 11900outcomes
- 12864outcomes
- 13812outcomes
- 14wp_ajax_wp_privacy_export_personal_data()
Handles exporting a user's personal data via AJAX.
queryoptionhook690outcomes - 15get_custom_logo()
Returns a custom logo, linked to home unless the theme supports removing the link on the home page.
queryoptionhook4 callers600outcomes - 16598outcomes
- 17538outcomes
- 18510outcomes
- 19500outcomes
- 20432outcomes
- 21409outcomes
- 22408outcomes
- 23_wp_upload_dir()
A non-filtered, non-cached version of wp_upload_dir() that doesn't check the path.
queryoptionhook1 caller384outcomes - 24wp_handle_comment_submission()
Handles the submission of a comment, usually posted to wp-comments-post.php via a comment form.
queryoptionhook369outcomes - 25wp_get_loading_optimization_attributes()
Gets loading optimization attributes.
queryoptionhook6 callers356outcomes - 26352outcomes
- 27352outcomes
- 28336outcomes
- 29332outcomes
- 30wp_privacy_generate_personal_data_export_file()
Generate the personal data export file.
filesystemqueryoptionhookloops324outcomes - 31324outcomes
- 32322outcomes
- 33_default_wp_die_handler()
Kills WordPress execution and displays HTML page with an error message.
queryoptionhook300outcomes - 34ms_load_current_site_and_network()
Identifies the network and site of a requested domain and path and populates the corresponding network and site global objects as part of the multisite bootstrap process.
hook293outcomes - 35wp_generate_attachment_metadata()
Generates attachment meta data and create image sub-sizes for images.
filesystemqueryoptionhook13 callers288outcomes - 36264outcomes
- 37256outcomes
- 38wp_install_defaults()
Creates the initial content for a newly-installed site.
sqlqueryoptionhook3 callers255outcomes - 39register_and_do_post_meta_boxes()
Registers the default post meta boxes, and runs the `do_meta_boxes` actions.
queryoptionhook225outcomes - 40get_blog_details()
Retrieves the details for a blog from the blogs table and blog options.
sqlqueryoptionhook221outcomes - 41216outcomes
- 42216outcomes
- 43200outcomes
- 44wp_unique_filename()
Gets a filename that is sanitized and unique for the given directory.
filesystemqueryoptionhookloops8 callers200outcomes - 45redirect_guess_404_permalink()
Attempts to guess the correct URL for a 404 request based on query vars.
sqlqueryoptionhook1 caller199outcomes - 46195outcomes
- 47195outcomes
- 48192outcomes
- 49188outcomes
- 50176outcomes
- 51wp_setup_nav_menu_item()
Decorates a menu item object with the shared navigation menu item properties.
queryoptionhook3 callers168outcomes - 52comments_template()
Loads the comment template specified in $file.
filesystemsqlqueryoptionloops1 caller162outcomes - 53render_block_core_post_featured_image()
Renders the `core/post-featured-image` block on the server.
queryoptionhookloops160outcomes - 54160outcomes
- 55wp_ajax_parse_media_shortcode()queryoptionhookloops152outcomes
- 56media_handle_upload()
Saves a file submitted from a POST request and create an attachment post for it.
queryoptionhook2 callers151outcomes - 57150outcomes
- 58wp_edit_theme_plugin_file()
Attempts to edit a file for a theme or plugin.
httpfilesystemqueryoption1 caller147outcomes - 59activate_plugin()
Attempts activation of plugin in a "sandbox" and redirects on success.
queryoptionhook3 callers136outcomes - 60132outcomes
- 61get_default_post_to_edit()
Returns default post information to use when populating the "Write Post" form.
queryoptionhook5 callers132outcomes - 62128outcomes
- 63120outcomes
- 64inject_ignored_hooked_blocks_metadata_attributes()
Inject ignoredHookedBlocks metadata attributes into a template or template part.
queryoptionhook120outcomes - 65120outcomes
- 66120outcomes
- 67118outcomes
- 68117outcomes
- 69_build_block_template_result_from_post()
Builds a unified template object based a post Object.
queryoptionhookloops6 callers115outcomes - 70114outcomes
- 71114outcomes
- 72wp_ajax_toggle_auto_updates()
Handles enabling or disable plugin and theme auto-updates via AJAX.
queryoptionhook112outcomes - 73comments_popup_link()
Displays the link to the comments for the current post ID.
queryoptionhook6 callers110outcomes - 74110outcomes
- 75108outcomes
- 76wp_ajax_media_create_image_subsizes()
Handles creating missing image sub-sizes for just uploaded images via AJAX.
queryoptionhook108outcomes - 77wp_delete_attachment_files()
Deletes all files that belong to the given attachment.
sqlqueryoptionhookloops1 caller105outcomes - 78104outcomes
- 79themes_api()
Retrieves theme installer pages from the WordPress.org Themes API.
httpqueryoptionhookloops8 callers100outcomes - 80plugins_api()
Retrieves plugin installer pages from the WordPress.org Plugins API.
httpqueryoptionhook8 callers100outcomes - 81100outcomes
- 8299outcomes
- 8396outcomes
- 8496outcomes
- 8595outcomes
- 8688outcomes
- 8788outcomes
- 88sanitize_option()
Sanitizes various option values based on the nature of the option.
queryoptionhook8 callers87outcomes - 89twentysixteen_entry_meta()
Prints HTML with meta information for the categories, tags.
queryoptionhook80outcomes - 9080outcomes
- 91wp_update_nav_menu_item()
Saves the properties of a menu item or create a new one.
queryoptionhook6 callers78outcomes - 9278outcomes
- 9374outcomes
- 9474outcomes
- 95touch_time()
Prints out HTML form date elements for editing post or comment publish date.
queryoptionhookloops2 callers72outcomes - 96populate_network_meta()
Creates WordPress network meta and sets the default values.
sqlqueryoptionhookloops1 caller72outcomes - 9772outcomes
- 9872outcomes
- 99post_preview()
Saves a draft or manually autosaves for the purpose of showing a post preview.
queryoptionhook72outcomes - 100wp_ajax_save_attachment_compat()
Handles saving backward compatible attachment attributes via AJAX.
queryoptionhookloops72outcomes