Reference › Cost rankings › Free to call
WordPress 7.1.0PHP 8.5top 100
Free to call
No calls out, no I/O, constant work. Caching the result of one of these costs more than calling it again.
Counted from the compiled opcodes, identical on any machine running the same PHP version. How this is measured.
- 11instructions
- 21instructions
- 31instructions
- 4twentytwenty_get_customizer_color_vars()
Returns an array of variables for the customizer preview.
2 callers1instructions - 51instructions
- 61instructions
- 71instructions
- 8__return_empty_array()
Returns an empty array.
1instructions - 9__return_empty_string()
Returns an empty string.
1instructions - 10__return_false()
Returns false.
1instructions - 11__return_null()
Returns null.
1instructions - 12__return_true()
Returns true.
1instructions - 13__return_zero()
Returns 0.
1instructions - 14_filter_do_shortcode_context()
Filter the `wp_get_attachment_image_context` hook during shortcode rendering.
1instructions - 15_save_post_hook()
Callback formerly fired on the save_post hook. No longer needed.
1instructions - 16block_core_post_excerpt_excerpt_length()
Callback for the excerpt_length filter to override the excerpt length.
1instructions - 17media_upload_text_after()
Used to display a "After a file has been uploaded.
1instructions - 18ms_deprecated_blogs_file()
Deprecated functionality for determining whether a file is deprecated.
1instructions - 19twenty_twenty_one_get_avatar_size()
Returns the size for avatars used in the theme.
1instructions - 20upgrade_420()
Execute changes made in WordPress 4.2.0.
1instructions - 21upgrade_500()
Executes changes made in WordPress 5.0.0.
1instructions - 22wp_dashboard_empty()
Outputs empty dashboard widget to be populated by JS later.
1instructions - 23wp_dashboard_incoming_links()
Deprecated dashboard widget controls.
1instructions - 24wp_dashboard_incoming_links_control()
Deprecated dashboard incoming links control.
1instructions - 25wp_dashboard_incoming_links_output()
Deprecated dashboard widget controls.
1instructions - 26wp_dashboard_plugins()
Deprecated dashboard plugins control.
1instructions - 27wp_dashboard_primary_control()
Deprecated dashboard primary control.
1instructions - 28wp_dashboard_recent_comments_control()
Deprecated dashboard recent comments control.
1instructions - 29wp_dashboard_secondary()
Deprecated dashboard secondary section.
1instructions - 30wp_dashboard_secondary_control()
Deprecated dashboard secondary control.
1instructions - 31wp_dashboard_secondary_output()
Deprecated dashboard secondary output.
1instructions - 32wp_kses_version()
Returns the version number of KSES.
1instructions - 33wp_oembed_add_host_js()
Adds the necessary JavaScript to communicate with the embedded iframes.
1instructions - 342instructions
- 35rest_get_authenticated_app_password()
Gets the Application Password used for authenticating the request.
1 caller2instructions - 36wp_strict_cross_origin_referrer()
Displays a referrer `strict-origin-when-cross-origin` meta tag.
1 caller2instructions - 37_block_template_viewport_meta_tag()
Renders a 'viewport' meta tag.
2instructions - 38_wp_post_thumbnail_context_filter()
Overrides the context used in {@see wp_get_attachment_image()}. Internal use only.
2instructions - 39block_core_latest_posts_get_excerpt_length()
Callback for the excerpt_length filter used by the Latest Posts block at render time.
2instructions - 40default_topic_count_text()
Old callback for tag link tooltips.
2instructions - 412instructions
- 42export_add_js()
Display JavaScript on the page.
2instructions - 43get_current_site()
Gets the current network.
2instructions - 44network_settings_add_js()
Prints JavaScript in the header on the Network Settings screen.
2instructions - 45options_discussion_add_js()
Output JavaScript to toggle display of additional settings if avatars are disabled.
2instructions - 46options_permalink_add_js()
Display JavaScript on the page.
2instructions - 47options_reading_add_js()
Display JavaScript on the page.
2instructions - 48twenty_twenty_one_skip_link_focus_fix()
Adds an HTML comment about the lack of Internet Explorer support.
2instructions - 49twentyeleven_excerpt_length()
Sets the post excerpt length to 40 words.
2instructions - 50twentyeleven_option_page_capability()
Changes the capability required to save the 'twentyeleven_options' options group.
2instructions - 51twentyfourteen_admin_header_style()
Styles the header image displayed on the Appearance > Header screen.
2instructions - 52twentynineteen_skip_link_focus_fix()
Fixes skip link focus in IE11.
2instructions - 53twentyten_admin_header_style()
Styles the header image displayed on the Appearance > Header admin panel.
2instructions - 54twentyten_excerpt_length()
Sets the post excerpt length to 40 characters.
2instructions - 55twentytwenty_skip_link_focus_fix()
Fixes skip link focus in IE11.
2instructions - 56wp_font_library_wp_admin_render_page()
Render the font-library-wp-admin page.
2instructions - 57wp_login_viewport_meta()
Outputs the viewport meta tag for the login page.
2instructions - 58wp_options_connectors_wp_admin_render_page()
Render the options-connectors-wp-admin page.
2instructions - 59wp_page_reload_on_back_button_js()
Outputs JS that reloads the page if the user navigated to it with the Back or Forward button.
2instructions - 60wpmu_activate_stylesheet()
Loads styles specific to this page.
2instructions - 61wpmu_signup_stylesheet()
Prints styles for front-end Multisite Sign-up pages.
2instructions - 62PclZipUtilTranslateWinPath()5 callers3instructions
- 63block_core_navigation_filter_out_empty_blocks()
Filter out empty "null" blocks from the block list.
3 callers3instructions - 643instructions
- 653instructions
- 663instructions
- 673instructions
- 68sodium_crypto_box_keypair()1 caller3instructions
- 69sodium_crypto_sign_keypair()1 caller3instructions
- 70sodium_version_string()1 caller3instructions
- 71_is_valid_nav_menu_item()
Determines whether a menu item is valid.
3instructions - 723instructions
- 733instructions
- 743instructions
- 75discard_sidebar_being_rendered()
Clear whatever we set in note_sidebar_being_rendered() after WordPress finishes rendering a sidebar.
3instructions - 76endElement()
Ends a new XML tag.
3instructions - 77get_num_queries()
Retrieves the number of database queries during the WordPress execution.
3instructions - 78image_attachment_fields_to_edit()
Retrieves the image attachment fields to edit form fields.
3instructions - 793instructions
- 803instructions
- 813instructions
- 823instructions
- 833instructions
- 843instructions
- 853instructions
- 863instructions
- 873instructions
- 883instructions
- 893instructions
- 903instructions
- 913instructions
- 923instructions
- 933instructions
- 943instructions
- 95wp_clone()
Clones an object.
3instructions - 963instructions
- 974instructions
- 984instructions
- 994instructions
- 1004instructions