Reference › Cost rankings › Most called by core
WordPress 7.1.0PHP 8.5top 100
Most called by core
Cost paid far more often than your own code suggests, because core calls these throughout a request whether or not you do. A change in one of these is felt everywhere.
Counted from the compiled opcodes, identical on any machine running the same PHP version. How this is measured.
- 1get_permalink()
Retrieves the full permalink for the current post or post ID.
queryoptionhook50 callers50core callers - 250core callers
- 350core callers
- 450core callers
- 550core callers
- 650core callers
- 750core callers
- 8wp_die()
Kills WordPress execution and displays HTML page with an error message.
queryoptionhook50 callers50core callers - 950core callers
- 1050core callers
- 1150core callers
- 12check_ajax_referer()
Verifies the Ajax request to prevent processing requests external of the blog.
queryoptionhook50 callers50core callers - 1350core callers
- 1450core callers
- 1550core callers
- 1650core callers
- 17_deprecated_function()
Marks a function as deprecated and inform when it has been used.
queryoptionhook50 callers50core callers - 18_deprecated_argument()
Marks a function argument as deprecated and inform when it has been used.
queryoptionhook50 callers50core callers - 19wp_create_nonce()
Creates a cryptographic token tied to a specific action, user, user session, and window of time.
queryoptionhook50 callers50core callers - 2050core callers
- 2150core callers
- 2250core callers
- 2350core callers
- 2450core callers
- 25wp_send_json_error()
Sends a JSON response back to an Ajax request, indicating failure.
queryoptionhookloops50 callers50core callers - 2650core callers
- 27sanitize_title()
Sanitizes a string into a slug, which can be used in URLs or HTML attributes.
queryoptionhook50 callers50core callers - 2850core callers
- 29get_template_directory_uri()
Retrieves template directory URI for the active theme.
queryoptionhook50 callers50core callers - 3050core callers
- 3150core callers
- 3250core callers
- 3350core callers
- 3450core callers
- 3550core callers
- 3650core callers
- 3750core callers
- 3850core callers
- 3950core callers
- 40wp_send_json_success()
Sends a JSON response back to an Ajax request, indicating success.
queryoptionhook50 callers50core callers - 41is_singular()
Determines whether the query is for an existing single post of any post type (post, attachment, page, custom post types).
queryoptionhook50 callers50core callers - 4250core callers
- 43sanitize_text_field()
Sanitizes a string from user input or from the database.
queryoptionhook50 callers50core callers - 4450core callers
- 4550core callers
- 4650core callers
- 4750core callers
- 48wp_slash()
Adds slashes to a string or recursively adds slashes to strings within an array.
50 callers50core callers - 4950core callers
- 50get_site_option()
Retrieve an option value for the current network based on name of option.
queryoptionhook50 callers50core callers - 5150core callers
- 5250core callers
- 5350core callers
- 5450core callers
- 55home_url()
Retrieves the URL for the current site where the front end is accessible.
queryoptionhook50 callers50core callers - 5650core callers
- 5750core callers
- 58get_post_type()
Retrieves the post type of the current post or of a given post.
queryoptionhook50 callers50core callers - 5950core callers
- 6050core callers
- 6150core callers
- 6250core callers
- 6350core callers
- 6450core callers
- 6550core callers
- 6650core callers
- 6750core callers
- 68did_action()
Retrieves the number of times an action has been fired during the current request.
50 callers50core callers - 6950core callers
- 70wp_unslash()
Removes slashes from a string or recursively removes slashes from strings within an array.
50 callers50core callers - 7150core callers
- 72get_block_wrapper_attributes()
Generates a string of attributes by applying to the current block being rendered all of the features that the block supports.
queryoptionhook50 callers50core callers - 73rest_authorization_required_code()
Returns a contextual HTTP error code for authorization failure.
queryhook50 callers50core callers - 74register_block_type_from_metadata()
Registers a block type from the metadata stored in the `block.json` file.
queryoptionhook50 callers50core callers - 7549core callers
- 7649core callers
- 7749core callers
- 7849core callers
- 7949core callers
- 8048core callers
- 81_n()
Translates and retrieves the singular or plural form based on the supplied number.
queryoptionhook48 callers48core callers - 8248core callers
- 8347core callers
- 8445core callers
- 85esc_attr_e()
Displays translated text that has been escaped for safe use in an attribute.
queryoptionhook45 callers45core callers - 8645core callers
- 8744core callers
- 8844core callers
- 8943core callers
- 9043core callers
- 91wp_get_attachment_metadata()
Retrieves attachment metadata for attachment ID.
queryoptionhook43 callers43core callers - 92submit_button()
Echoes a submit button, with provided text and appropriate class(es).
queryoptionhook43 callers43core callers - 93get_the_author_meta()
Retrieves the requested data of the author of the current post.
queryhook42 callers42core callers - 9442core callers
- 9542core callers
- 9641core callers
- 97stripos()41 callers41core callers
- 9841core callers
- 99post_password_required()
Determines whether the post requires password and whether a correct password has been provided.
queryoptionhook40 callers40core callers - 100self_admin_url()
Retrieves the URL to the admin area for either the current site or the network depending on context.
queryoptionhook40 callers40core callers