wppaste

ReferenceCost rankingsFree to call

WordPress 7.1.0PHP 8.4top 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.

  1. 1
    block_core_shared_navigation_render_submenu_icon()

    Returns the submenu SVG chevron icon.

    4 callers
    1instructions
  2. 2
    _wp_privacy_action_request_types()

    Gets all personal data request types.

    3 callers
    1instructions
  3. 3
    rest_get_allowed_schema_keywords()

    Get all valid JSON schema properties.

    2 callers
    1instructions
  4. 4
    twentytwenty_get_customizer_color_vars()

    Returns an array of variables for the customizer preview.

    2 callers
    1instructions
  5. 5
    wp_get_layout_definitions()

    Returns layout definitions, keyed by layout type.

    2 callers
    1instructions
  6. 6
    get_shortcode_atts_regex()

    Retrieves the shortcode attributes regex.

    1 caller
    1instructions
  7. 7
    twentynineteen_get_avatar_size()

    Returns the size for avatars used in the theme.

    1 caller
    1instructions
  8. 8
    __return_empty_array()

    Returns an empty array.

    1instructions
  9. 9
    __return_empty_string()

    Returns an empty string.

    1instructions
  10. 10
    __return_false()

    Returns false.

    1instructions
  11. 11
    __return_null()

    Returns null.

    1instructions
  12. 12
    __return_true()

    Returns true.

    1instructions
  13. 13
    __return_zero()

    Returns 0.

    1instructions
  14. 14
    _filter_do_shortcode_context()

    Filter the `wp_get_attachment_image_context` hook during shortcode rendering.

    1instructions
  15. 15
    _save_post_hook()

    Callback formerly fired on the save_post hook. No longer needed.

    1instructions
  16. 16
    block_core_post_excerpt_excerpt_length()

    Callback for the excerpt_length filter to override the excerpt length.

    1instructions
  17. 17
    media_upload_text_after()

    Used to display a "After a file has been uploaded.

    1instructions
  18. 18
    ms_deprecated_blogs_file()

    Deprecated functionality for determining whether a file is deprecated.

    1instructions
  19. 19
    twenty_twenty_one_get_avatar_size()

    Returns the size for avatars used in the theme.

    1instructions
  20. 20
    upgrade_420()

    Execute changes made in WordPress 4.2.0.

    1instructions
  21. 21
    upgrade_500()

    Executes changes made in WordPress 5.0.0.

    1instructions
  22. 22
    wp_dashboard_empty()

    Outputs empty dashboard widget to be populated by JS later.

    1instructions
  23. 23
    wp_dashboard_incoming_links()

    Deprecated dashboard widget controls.

    1instructions
  24. 24
    wp_dashboard_incoming_links_control()

    Deprecated dashboard incoming links control.

    1instructions
  25. 25
    wp_dashboard_incoming_links_output()

    Deprecated dashboard widget controls.

    1instructions
  26. 26
    wp_dashboard_plugins()

    Deprecated dashboard plugins control.

    1instructions
  27. 27
    wp_dashboard_primary_control()

    Deprecated dashboard primary control.

    1instructions
  28. 28
    wp_dashboard_recent_comments_control()

    Deprecated dashboard recent comments control.

    1instructions
  29. 29
    wp_dashboard_secondary()

    Deprecated dashboard secondary section.

    1instructions
  30. 30
    wp_dashboard_secondary_control()

    Deprecated dashboard secondary control.

    1instructions
  31. 31
    wp_dashboard_secondary_output()

    Deprecated dashboard secondary output.

    1instructions
  32. 32
    wp_kses_version()

    Returns the version number of KSES.

    1instructions
  33. 33
    wp_oembed_add_host_js()

    Adds the necessary JavaScript to communicate with the embedded iframes.

    1instructions
  34. 34
    _()

    Compat function to mimic _(), an alias of gettext().

    14 callers
    2instructions
  35. 35
    rest_get_authenticated_app_password()

    Gets the Application Password used for authenticating the request.

    1 caller
    2instructions
  36. 36
    wp_strict_cross_origin_referrer()

    Displays a referrer `strict-origin-when-cross-origin` meta tag.

    1 caller
    2instructions
  37. 37
    _block_template_viewport_meta_tag()

    Renders a 'viewport' meta tag.

    2instructions
  38. 38
    _wp_post_thumbnail_context_filter()

    Overrides the context used in {@see wp_get_attachment_image()}. Internal use only.

    2instructions
  39. 39
    block_core_latest_posts_get_excerpt_length()

    Callback for the excerpt_length filter used by the Latest Posts block at render time.

    2instructions
  40. 40
    default_topic_count_text()

    Old callback for tag link tooltips.

    2instructions
  41. 41
    2instructions
  42. 42
    export_add_js()

    Display JavaScript on the page.

    2instructions
  43. 43
    get_current_site()

    Gets the current network.

    2instructions
  44. 44
    network_settings_add_js()

    Prints JavaScript in the header on the Network Settings screen.

    2instructions
  45. 45
    options_discussion_add_js()

    Output JavaScript to toggle display of additional settings if avatars are disabled.

    2instructions
  46. 46
    options_permalink_add_js()

    Display JavaScript on the page.

    2instructions
  47. 47
    options_reading_add_js()

    Display JavaScript on the page.

    2instructions
  48. 48
    twenty_twenty_one_skip_link_focus_fix()

    Adds an HTML comment about the lack of Internet Explorer support.

    2instructions
  49. 49
    twentyeleven_excerpt_length()

    Sets the post excerpt length to 40 words.

    2instructions
  50. 50
    twentyeleven_option_page_capability()

    Changes the capability required to save the 'twentyeleven_options' options group.

    2instructions
  51. 51
    twentyfourteen_admin_header_style()

    Styles the header image displayed on the Appearance > Header screen.

    2instructions
  52. 52
    twentynineteen_skip_link_focus_fix()

    Fixes skip link focus in IE11.

    2instructions
  53. 53
    twentyten_admin_header_style()

    Styles the header image displayed on the Appearance > Header admin panel.

    2instructions
  54. 54
    twentyten_excerpt_length()

    Sets the post excerpt length to 40 characters.

    2instructions
  55. 55
    twentytwenty_skip_link_focus_fix()

    Fixes skip link focus in IE11.

    2instructions
  56. 56
    wp_font_library_wp_admin_render_page()

    Render the font-library-wp-admin page.

    2instructions
  57. 57
    wp_login_viewport_meta()

    Outputs the viewport meta tag for the login page.

    2instructions
  58. 58
    wp_options_connectors_wp_admin_render_page()

    Render the options-connectors-wp-admin page.

    2instructions
  59. 59
    wp_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
  60. 60
    wpmu_activate_stylesheet()

    Loads styles specific to this page.

    2instructions
  61. 61
    wpmu_signup_stylesheet()

    Prints styles for front-end Multisite Sign-up pages.

    2instructions
  62. 62
    3instructions
  63. 63
    block_core_navigation_filter_out_empty_blocks()

    Filter out empty "null" blocks from the block list.

    3 callers
    3instructions
  64. 64
    ms_is_switched()

    Determines if switch_to_blog() is in effect.

    3 callers
    3instructions
  65. 65
    wp_is_heic_image_mime_type()

    Checks if a mime type is for a HEIC/HEIF image.

    3 callers
    3instructions
  66. 66
    remove_all_shortcodes()

    Clears all shortcodes.

    1 caller
    3instructions
  67. 67
    3instructions
  68. 68
    3instructions
  69. 69
    3instructions
  70. 70
    3instructions
  71. 71
    _is_valid_nav_menu_item()

    Determines whether a menu item is valid.

    3instructions
  72. 72
    3instructions
  73. 73
    3instructions
  74. 74
    3instructions
  75. 75
    discard_sidebar_being_rendered()

    Clear whatever we set in note_sidebar_being_rendered() after WordPress finishes rendering a sidebar.

    3instructions
  76. 76
    endElement()

    Ends a new XML tag.

    3instructions
  77. 77
    get_num_queries()

    Retrieves the number of database queries during the WordPress execution.

    3instructions
  78. 78
    image_attachment_fields_to_edit()

    Retrieves the image attachment fields to edit form fields.

    3instructions
  79. 79
    3instructions
  80. 80
    3instructions
  81. 81
    3instructions
  82. 82
    3instructions
  83. 83
    3instructions
  84. 84
    3instructions
  85. 85
    3instructions
  86. 86
    3instructions
  87. 87
    3instructions
  88. 88
    3instructions
  89. 89
    3instructions
  90. 90
    3instructions
  91. 91
    3instructions
  92. 92
    3instructions
  93. 93
    3instructions
  94. 94
    3instructions
  95. 95
    wp_clone()

    Clones an object.

    3instructions
  96. 96
    3instructions
  97. 97
    get_current_screen()

    Get the current screen object

    37 callers
    4instructions
  98. 98
    get_queried_object()

    Retrieves the currently queried object.

    31 callers
    4instructions
  99. 99
    get_queried_object_id()

    Retrieves the ID of the currently queried object.

    21 callers
    4instructions
  100. 100
    get_registered_nav_menus()

    Retrieves all registered navigation menu locations in a theme.

    9 callers
    4instructions