说明
【WordPress5.3.*函数大全系列】包含 WordPress 在其开发者资源网公布的 WordPress 5.3.* 的全部函数,一共 1470 个。
由于将这些内容全部放在一篇文章中会超出 WordPress 的限制,也会在加载过程中对【荒原之梦】的数据库造成产生较大的负荷,因此,我将这 1470 个函数分列到了 6 篇文章中,如下:
⭐WordPress开发必备:WordPress5.3.*函数大全[1/6]
⭐WordPress开发必备:WordPress5.3.*函数大全[2/6]
⭐WordPress开发必备:WordPress5.3.*函数大全[3/6]
⭐WordPress开发必备:WordPress5.3.*函数大全[4/6]
⭐WordPress开发必备:WordPress5.3.*函数大全[5/6]
⭐WordPress开发必备:WordPress5.3.*函数大全[6/6]
您也可以在我的 GitHub 上找到【WordPress开发必备:WordPress5.3.*函数大全】等 WordPress 开发资料:
https://github.com/zhaokaifengcom/wordpress-develop
本文中的函数对应于 WordPress 5.3.* 版主程序,此前及此后的版本中一些常用函数的变化通常不会太大,也可以参考本系列文章列出的函数。
正文
※1※
absint()
Function: Convert a value to non-negative integer.
Source: wp-includes/functions.php:4519
Used by 120 functions | Uses 0 functions
※2※
activate_plugin()
Function: Attempts activation of plugin in a “sandbox” and redirects on success.
Source: wp-admin/includes/plugin.php:618
Used by 1 function | Uses 19 functions
※3※
activate_plugins()
Function: Activate multiple plugins.
Source: wp-admin/includes/plugin.php:844
Used by 0 functions | Uses 5 functions
※4※
activate_sitewide_plugin()
Function: Deprecated functionality for activating a network-only plugin.
Source: wp-admin/includes/ms-deprecated.php:57
Used by 0 functions | Uses 1 function
※5※
addslashes_gpc()
Function: Adds slashes to escape strings.
Source: wp-includes/formatting.php:2715
Used by 1 function | Uses 1 function
※6※
addslashes_strings_only()
Function: Adds slashes only if the provided value is a string.
Source: wp-includes/formatting.php:5459
Used by 0 functions | Uses 0 functions
※7※
add_action()
Function: Hooks a function on to a specific action.
Source: wp-includes/plugin.php:403
Used by 73 functions | Uses 1 function
※8※
add_blog_option()
Function: Add a new option for a given blog id.
Source: wp-includes/ms-blogs.php:394
Used by 0 functions | Uses 4 functions
※9※
add_clean_index()
Function: Adds an index to a specified table.
Source: wp-admin/includes/upgrade.php:2360
Used by 0 functions | Uses 2 functions
※10※
add_comments_page()
Function: Add submenu page to the Comments main menu.
Source: wp-admin/includes/plugin.php:1701
Used by 0 functions | Uses 1 function
※11※
add_comment_meta()
Function: Add meta data field to a comment.
Source: wp-includes/comment.php:456
Used by 3 functions | Uses 1 function
※12※
add_contextual_help()
Function: Add contextual help text for a page.
Source: wp-admin/includes/deprecated.php:988
Used by 0 functions | Uses 3 functions
※13※
add_cssclass()
Function:
Source: wp-admin/includes/menu.php:194
Used by 1 function | Uses 0 functions
※14※
add_custom_background()
Function: Add callbacks for background image display.
Source: wp-includes/deprecated.php:3024
Used by 0 functions | Uses 2 functions
※15※
add_custom_image_header()
Function: Add callbacks for image header display.
Source: wp-includes/deprecated.php:2988
Used by 0 functions | Uses 2 functions
※16※
add_dashboard_page()
Function: Add submenu page to the Dashboard main menu.
Source: wp-admin/includes/plugin.php:1581
Used by 0 functions | Uses 1 function
※17※
add_editor_style()
Function: Add callback for custom TinyMCE editor stylesheets.
Source: wp-includes/theme.php:1939
Used by 0 functions | Uses 2 functions
※18※
add_existing_user_to_blog()
Function: Add a user to a blog based on details from maybe_add_existing_user_to_blog().
Source: wp-includes/ms-functions.php:2119
Used by 1 function | Uses 4 functions
※19※
add_feed()
Function: Add a new feed type like /atom1/.
Source: wp-includes/rewrite.php:247
Used by 0 functions | Uses 2 functions
※20※
add_filter()
Function: Hook a function or method to a specific filter action.
Source: wp-includes/plugin.php:108
Used by 93 functions | Uses 0 functions
※21※
add_image_size()
Function: Register a new image size.
Source: wp-includes/media.php:285
Used by 2 functions | Uses 1 function
※22※
add_link()
Function: Add a link to using values provided in $_POST.
Source: wp-admin/includes/bookmark.php:16
Used by 0 functions | Uses 1 function
※23※
add_links_page()
Function: Add submenu page to the Links main menu.
Source: wp-admin/includes/plugin.php:1653
Used by 0 functions | Uses 1 function
※24※
add_magic_quotes()
Function: Walks the array while sanitizing the contents.
Source: wp-includes/functions.php:1197
Used by 4 functions | Uses 1 function
※25※
add_management_page()
Function: Add submenu page to the Tools main menu.
Source: wp-admin/includes/plugin.php:1456
Used by 0 functions | Uses 1 function
※26※
add_media_page()
Function: Add submenu page to the Media main menu.
Source: wp-admin/includes/plugin.php:1629
Used by 0 functions | Uses 1 function
※27※
add_menu_classes()
Function:
Source: wp-admin/includes/menu.php:203
Used by 0 functions | Uses 3 functions
※28※
add_menu_page()
Function: Add a top-level menu page.
Source: wp-admin/includes/plugin.php:1273
Used by 2 functions | Uses 6 functions
※29※
add_meta()
Function: Add post meta data defined in $_POST superglobal for post with given ID.
Source: wp-admin/includes/post.php:896
Used by 3 functions | Uses 5 functions
※30※
add_metadata()
Function: Add metadata for the specified object.
Source: wp-includes/meta.php:30
Used by 7 functions | Uses 16 functions
※31※
add_meta_box()
Function: Adds a meta box to one or more screens.
Source: wp-admin/includes/template.php:1018
Used by 7 functions | Uses 3 functions
※32※
add_network_option()
Function: Add a new network option.
Source: wp-includes/option.php:1350
Used by 2 functions | Uses 15 functions
※33※
add_new_user_to_blog()
Function: Adds a newly created user to the appropriate blog
Source: wp-includes/ms-functions.php:2152
Used by 0 functions | Uses 5 functions
※34※
add_object_page()
Function: Add a top-level menu page in the ‘objects’ section.
Source: wp-admin/includes/deprecated.php:1429
Used by 0 functions | Uses 2 functions
※35※
add_option()
Function: Add a new option.
Source: wp-includes/option.php:459
Used by 5 functions | Uses 17 functions
※36※
add_options_page()
Function: Add submenu page to the Settings main menu.
Source: wp-admin/includes/plugin.php:1480
Used by 0 functions | Uses 1 function
※37※
add_option_update_handler()
Function: Register a setting and its sanitization callback
Source: wp-admin/includes/deprecated.php:167
Used by 0 functions | Uses 2 functions
※38※
add_option_whitelist()
Function: Adds an array of options to the options whitelist.
Source: wp-admin/includes/plugin.php:2126
Used by 1 function | Uses 0 functions
※39※
add_pages_page()
Function: Add submenu page to the Pages main menu.
Source: wp-admin/includes/plugin.php:1677
Used by 0 functions | Uses 1 function
※40※
add_permastruct()
Function: Add permalink structure.
Source: wp-includes/rewrite.php:203
Used by 2 functions | Uses 1 function
※41※
add_ping()
Function: Add a URL to those already pinged.
Source: wp-includes/post.php:4672
Used by 1 function | Uses 5 functions
※42※
add_plugins_page()
Function: Add submenu page to the Plugins main menu.
Source: wp-admin/includes/plugin.php:1528
Used by 0 functions | Uses 1 function
※43※
add_posts_page()
Function: Add submenu page to the Posts main menu.
Source: wp-admin/includes/plugin.php:1605
Used by 0 functions | Uses 1 function
※44※
add_post_meta()
Function: Adds a meta field to the given post.
Source: wp-includes/post.php:2061
Used by 16 functions | Uses 2 functions
※45※
add_post_type_support()
Function: Registers support of certain features for a post type.
Source: wp-includes/post.php:1842
Used by 2 functions | Uses 0 functions
※46※
add_query_arg()
Function: Retrieves a modified URL query string.
Source: wp-includes/functions.php:1059
Used by 141 functions | Uses 4 functions
※47※
add_rewrite_endpoint()
Function: Add an endpoint, like /trackback/.
Source: wp-includes/rewrite.php:314
Used by 0 functions | Uses 1 function
※48※
add_rewrite_rule()
Function: Adds a rewrite rule that transforms a URL structure to a set of query vars.
Source: wp-includes/rewrite.php:137
Used by 2 functions | Uses 1 function
※49※
add_rewrite_tag()
Function: Add a new rewrite tag (like %postname%).
Source: wp-includes/rewrite.php:159
Used by 2 functions | Uses 2 functions
※50※
add_role()
Function: Add role, if it does not exist.
Source: wp-includes/capabilities.php:815
Used by 1 function | Uses 2 functions
※51※
add_screen_option()
Function: Register and configure an admin screen option
Source: wp-admin/includes/screen.php:203
Used by 0 functions | Uses 1 function
※52※
add_settings_error()
Function: Register a settings error to be displayed to the user
Source: wp-admin/includes/template.php:1721
Used by 3 functions | Uses 0 functions
※53※
add_settings_field()
Function: Add a new field to a section of a settings page.
Source: wp-admin/includes/template.php:1578
Used by 0 functions | Uses 2 functions
※54※
add_settings_section()
Function: Add a new section to a settings page.
Source: wp-admin/includes/template.php:1507
Used by 0 functions | Uses 2 functions
※55※
add_shortcode()
Function: Adds a new shortcode.
Source: wp-includes/shortcodes.php:63
Used by 2 functions | Uses 2 functions
※56※
add_site_meta()
Function: Adds metadata to a site.
Source: wp-includes/ms-site.php:1048
Used by 0 functions | Uses 1 function
※57※
add_site_option()
Function: Add a new option for the current network.
Source: wp-includes/option.php:1168
Used by 3 functions | Uses 1 function
※58※
add_submenu_page()
Function: Add a submenu page.
Source: wp-admin/includes/plugin.php:1345
Used by 13 functions | Uses 6 functions
※59※
add_term_meta()
Function: Adds metadata to a term.
Source: wp-includes/taxonomy.php:1217
Used by 1 function | Uses 4 functions
※60※
add_theme_page()
Function: Add submenu page to the Appearance main menu.
Source: wp-admin/includes/plugin.php:1504
Used by 2 functions | Uses 1 function
※61※
add_theme_support()
Function: Registers theme support for a given feature.
Source: wp-includes/theme.php:2384
Used by 9 functions | Uses 7 functions
※62※
add_thickbox()
Function: Enqueues the default ThickBox js and css.
Source: wp-includes/general-template.php:4506
Used by 1 function | Uses 4 functions
※63※
add_user()
Function: Creates a new user from the “Users” form using $_POST information.
Source: wp-admin/includes/user.php:16
Used by 0 functions | Uses 1 function
※64※
add_users_page()
Function: Add submenu page to the Users/Profile main menu.
Source: wp-admin/includes/plugin.php:1552
Used by 0 functions | Uses 2 functions
※65※
add_user_meta()
Function: Adds meta data to a user.
Source: wp-includes/user.php:792
Used by 1 function | Uses 1 function
※66※
add_user_to_blog()
Function: Adds a user to a blog.
Source: wp-includes/ms-functions.php:158
Used by 5 functions | Uses 15 functions
※67※
add_utility_page()
Function: Add a top-level menu page in the ‘utility’ section.
Source: wp-admin/includes/deprecated.php:1462
Used by 0 functions | Uses 2 functions
※68※
adjacent_image_link()
Function: Displays next or previous image link that has the same post parent.
Source: wp-includes/media.php:2953
Used by 2 functions | Uses 5 functions
※69※
adjacent_posts_rel_link()
Function: Displays the relational links for the posts adjacent to the current post.
Source: wp-includes/link-template.php:1947
Used by 1 function | Uses 1 function
※70※
adjacent_posts_rel_link_wp_head()
Function: Displays relational links for the posts adjacent to the current post for single post pages.
Source: wp-includes/link-template.php:1962
Used by 0 functions | Uses 3 functions
※71※
adjacent_post_link()
Function: Displays the adjacent post link.
Source: wp-includes/link-template.php:2211
Used by 0 functions | Uses 1 function
※72※
admin_color_scheme_picker()
Function: Display the default admin color scheme picker (Used in user-edit.php)
Source: wp-admin/includes/misc.php:891
Used by 0 functions | Uses 8 functions
※73※
admin_created_user_email()
Function:
Source: wp-admin/includes/user.php:571
Used by 0 functions | Uses 6 functions
※74※
admin_created_user_subject()
Function:
Source: wp-admin/user-new.php:35
Used by 0 functions | Uses 0 functions
※75※
admin_url()
Function: Retrieves the URL to the admin area for the current site.
Source: wp-includes/link-template.php:3279
Used by 106 functions | Uses 1 function
※76※
allowed_http_request_hosts()
Function: Whitelists allowed redirect hosts for safe HTTP requests as well.
Source: wp-includes/http.php:608
Used by 0 functions | Uses 1 function
※77※
allowed_tags()
Function: Display all of the allowed tags in HTML format with attributes.
Source: wp-includes/general-template.php:2303
Used by 0 functions | Uses 0 functions
※78※
allow_subdirectory_install()
Function: Allow subdirectory installation.
Source: wp-admin/includes/network.php:53
Used by 2 functions | Uses 3 functions
※79※
allow_subdomain_install()
Function: Allow subdomain installation
Source: wp-admin/includes/network.php:35
Used by 2 functions | Uses 1 function
※80※
antispambot()
Function: Converts email addresses characters to HTML entities to block spam bots.
Source: wp-includes/formatting.php:2788
Used by 0 functions | Uses 1 function
※81※
apache_mod_loaded()
Function: Does the specified module exist in the Apache config?
Source: wp-includes/functions.php:4943
Used by 2 functions | Uses 0 functions
※82※
apply_filters()
Function: Call the functions added to a filter hook.
Source: wp-includes/plugin.php:181
Used by 1124 functions | Uses 1 function
※83※
apply_filters_deprecated()
Function: Fires functions attached to a deprecated filter hook.
Source: wp-includes/plugin.php:626
Used by 6 functions | Uses 3 functions
※84※
apply_filters_ref_array()
Function: Execute functions hooked on a specific filter hook, specifying arguments in an array.
Source: wp-includes/plugin.php:228
Used by 12 functions | Uses 1 function
※85※
array_replace_recursive()
Function: PHP-agnostic version of {@link array_replace_recursive()}.
Source: wp-includes/compat.php:472
Used by 0 functions | Uses 0 functions
※86※
atom_enclosure()
Function: Display the atom enclosure for the current post.
Source: wp-includes/feed.php:509
Used by 0 functions | Uses 7 functions
※87※
atom_site_icon()
Function: Displays Site Icon in atom feeds.
Source: wp-includes/feed.php:587
Used by 0 functions | Uses 2 functions
※88※
attachment_id3_data_meta_box()
Function: Display fields for ID3 data
Source: wp-admin/includes/meta-boxes.php:1370
Used by 0 functions | Uses 3 functions
※89※
attachment_submitbox_metadata()
Function: Displays non-editable attachment metadata in the publish meta box.
Source: wp-admin/includes/media.php:3230
Used by 0 functions | Uses 15 functions
※90※
attachment_submit_meta_box()
Function: Display attachment submit form fields.
Source: wp-admin/includes/meta-boxes.php:368
Used by 0 functions | Uses 9 functions
※91※
attachment_url_to_postid()
Function: Tries to convert an attachment URL into a post ID.
Source: wp-includes/media.php:4239
Used by 2 functions | Uses 5 functions
※92※
attribute_escape()
Function: Escaping for HTML attributes.
Source: wp-includes/deprecated.php:2093
Used by 0 functions | Uses 2 functions
※93※
author_can()
Function: Whether the author of the supplied post has a specific capability.
Source: wp-includes/capabilities.php:726
Used by 0 functions | Uses 2 functions
※94※
auth_redirect()
Function: Checks if a user is logged in, if not it redirects them to the login page.
Source: wp-includes/pluggable.php:1019
Used by 1 function | Uses 14 functions
※95※
automatic_feed_links()
Function: Enable/disable automatic general feed link outputting.
Source: wp-includes/deprecated.php:2394
Used by 0 functions | Uses 3 functions
※96※
avoid_blog_page_permalink_collision()
Function: Avoids a collision between a site slug and a permalink slug.
Source: wp-admin/includes/ms.php:724
Used by 0 functions | Uses 3 functions
※97※
background_color()
Function: Display background color value.
Source: wp-includes/theme.php:1631
Used by 0 functions | Uses 1 function
※98※
background_image()
Function: Display background image path.
Source: wp-includes/theme.php:1611
Used by 0 functions | Uses 1 function
※99※
backslashit()
Function: Adds backslashes before letters and before a number at the start of a string.
Source: wp-includes/formatting.php:2664
Used by 0 functions | Uses 0 functions
※100※
balanceTags()
Function: Balances tags if forced to, or if the ‘use_balanceTags’ option is set to true.
Source: wp-includes/formatting.php:2432
Used by 0 functions | Uses 2 functions
※101※
before_last_bar()
Function: Remove last item on a pipe-delimited string.
Source: wp-includes/l10n.php:201
Used by 4 functions | Uses 0 functions
※102※
block_version()
Function: Returns the current version of the block format that the content string is using.
Source: wp-includes/blocks.php:356
Used by 1 function | Uses 1 function
※103※
bloginfo()
Function: Displays information about the current site.
Source: wp-includes/general-template.php:652
Used by 7 functions | Uses 1 function
※104※
bloginfo_rss()
Function: Display RSS container for the bloginfo function.
Source: wp-includes/feed.php:54
Used by 1 function | Uses 3 functions
※105※
body_class()
Function: Displays the class names for the body element.
Source: wp-includes/post-template.php:589
Used by 0 functions | Uses 1 function
※106※
bool_from_yn()
Function: Whether input is yes or no.
Source: wp-includes/functions.php:1494
Used by 0 functions | Uses 0 functions
※107※
build_query()
Function: Build URL query based on an associative and, or indexed array.
Source: wp-includes/functions.php:965
Used by 1 function | Uses 1 function
※108※
bulk_edit_posts()
Function: Process the post data for the bulk editing of posts.
Source: wp-admin/includes/post.php:450
Used by 0 functions | Uses 22 functions
※109※
cache_javascript_headers()
Function: Set the headers for caching for 10 days with JavaScript content type.
Source: wp-includes/functions.php:1462
Used by 0 functions | Uses 1 function
※110※
cache_users()
Function: Retrieve info for user lists to prevent multiple queries by get_userdata()
Source: wp-includes/pluggable.php:122
Used by 2 functions | Uses 4 functions
※111※
calendar_week_mod()
Function: Get number of days since the start of the week.
Source: wp-includes/general-template.php:2037
Used by 1 function | Uses 0 functions
※112※
cancel_comment_reply_link()
Function: Display HTML content for cancel comment reply link.
Source: wp-includes/comment-template.php:1871
Used by 1 function | Uses 1 function
※113※
can_edit_network()
Function: Whether or not we can edit this network from this page.
Source: wp-admin/includes/ms.php:815
Used by 1 function | Uses 3 functions
※114※
capital_P_dangit()
Function: Forever eliminate “Wordpress” from the planet (or at least the little bit we can influence).
Source: wp-includes/formatting.php:5323
Used by 1 function | Uses 2 functions
※115※
category_description()
Function: Retrieve category description.
Source: wp-includes/category-template.php:275
Used by 0 functions | Uses 1 function
※116※
category_exists()
Function: Check whether a category exists.
Source: wp-admin/includes/taxonomy.php:24
Used by 2 functions | Uses 1 function
※117※
cat_is_ancestor_of()
Function: Check if a category is an ancestor of another category.
Source: wp-includes/category.php:235
Used by 0 functions | Uses 1 function
※118※
checked()
Function: Outputs the html checked attribute.
Source: wp-includes/general-template.php:4646
Used by 30 functions | Uses 1 function
※119※
check_admin_referer()
Function: Ensures intent by verifying that a user was referred from another admin page with the correct security nonce.
Source: wp-includes/pluggable.php:1108
Used by 12 functions | Uses 8 functions
※120※
check_ajax_referer()
Function: Verifies the Ajax request to prevent processing requests external of the blog.
Source: wp-includes/pluggable.php:1152
Used by 79 functions | Uses 7 functions
※121※
check_and_publish_future_post()
Function: Publish future post and make sure post ID has future post status.
Source: wp-includes/post.php:4254
Used by 0 functions | Uses 4 functions
※122※
check_column()
Function: Check column matches criteria.
Source: wp-admin/install-helper.php:168
Used by 0 functions | Uses 1 function
※123※
check_comment()
Function: Check whether a comment passes internal checks to be allowed to add.
Source: wp-includes/comment.php:39
Used by 1 function | Uses 8 functions
※124※
check_comment_flood_db()
Function: Hooks WP’s native database-based comment-flood check.
Source: wp-includes/comment.php:840
Used by 0 functions | Uses 1 function
※125※
check_import_new_users()
Function: Checks if the current user has permissions to import new users.
Source: wp-admin/includes/ms.php:623
Used by 0 functions | Uses 1 function
※126※
check_password_reset_key()
Function: Retrieves a user row based on password reset key and login
Source: wp-includes/user.php:2359
Used by 0 functions | Uses 7 functions
※127※
check_theme_switched()
Function: Checks if a theme has been changed and runs ‘after_switch_theme’ hook on the next WP load.
Source: wp-includes/theme.php:2938
Used by 0 functions | Uses 7 functions
※128※
check_upload_mimes()
Function: Check an array of MIME types against a whitelist.
Source: wp-includes/ms-functions.php:1809
Used by 0 functions | Uses 1 function
※129※
check_upload_size()
Function: Determine if uploaded file exceeds space quota.
Source: wp-admin/includes/ms.php:18
Used by 0 functions | Uses 6 functions
※130※
choose_primary_blog()
Function: Handles the display of choosing a user’s primary site.
Source: wp-admin/includes/ms.php:758
Used by 0 functions | Uses 8 functions
※131※
clean_attachment_cache()
Function: Will clean the attachment in the cache.
Source: wp-includes/post.php:6679
Used by 1 function | Uses 4 functions
※132※
clean_blog_cache()
Function: Clean the blog cache
Source: wp-includes/ms-site.php:971
Used by 7 functions | Uses 8 functions
※133※
clean_bookmark_cache()
Function: Deletes the bookmark cache.
Source: wp-includes/bookmark.php:458
Used by 4 functions | Uses 2 functions
※134※
clean_category_cache()
Function: Remove the category cache data based on ID.
Source: wp-includes/category.php:334
Used by 0 functions | Uses 1 function
※135※
clean_comment_cache()
Function: Removes a comment from the object cache.
Source: wp-includes/comment.php:3013
Used by 7 functions | Uses 4 functions
※136※
clean_network_cache()
Function: Removes a network from the object cache.
Source: wp-includes/ms-network.php:78
Used by 1 function | Uses 4 functions
※137※
clean_object_term_cache()
Function: Removes the taxonomy relationship to terms from the cache.
Source: wp-includes/taxonomy.php:3184
Used by 4 functions | Uses 4 functions
※138※
clean_page_cache()
Function: Will clean the page in the cache.
Source: wp-includes/deprecated.php:3115
Used by 0 functions | Uses 2 functions
※139※
clean_post_cache()
Function: Will clean the post in the cache.
Source: wp-includes/post.php:6551
Used by 14 functions | Uses 7 functions
※140※
clean_pre()
Function: Accepts matches array from preg_replace_callback in wpautop() or a string.
Source: wp-includes/deprecated.php:2961
Used by 0 functions | Uses 1 function
※141※
clean_site_details_cache()
Function: Cleans the site details cache for a site.
Source: wp-includes/ms-blogs.php:320
Used by 0 functions | Uses 2 functions
※142※
clean_taxonomy_cache()
Function: Clean the caches for a taxonomy.
Source: wp-includes/taxonomy.php:3289
Used by 1 function | Uses 5 functions
※143※
clean_term_cache()
Function: Will remove all of the term ids from the cache.
Source: wp-includes/taxonomy.php:3228
Used by 6 functions | Uses 6 functions
※144※
clean_url()
Function: Checks and cleans a URL.
Source: wp-includes/deprecated.php:2037
Used by 0 functions | Uses 2 functions
※145※
clean_user_cache()
Function: Clean all user caches
Source: wp-includes/user.php:1360
Used by 10 functions | Uses 4 functions
※146※
clear_global_post_cache()
Function: Deprecated functionality to clear the global post cache.
Source: wp-includes/ms-deprecated.php:143
Used by 0 functions | Uses 1 function
※147※
codepress_footer_js()
Function: Adds JavaScript required to make CodePress work on the theme/plugin editors.
Source: wp-admin/includes/deprecated.php:206
Used by 0 functions | Uses 1 function
※148※
codepress_get_lang()
Function: Determines the language to use for CodePress syntax highlighting.
Source: wp-admin/includes/deprecated.php:196
Used by 0 functions | Uses 1 function
※149※
comments_link()
Function: Display the link to the current post comments.
Source: wp-includes/comment-template.php:828
Used by 2 functions | Uses 3 functions
※150※
comments_link_feed()
Function: Outputs the link to the comments for the current post in an xml safe way
Source: wp-includes/feed.php:255
Used by 0 functions | Uses 4 functions
※151※
comments_number()
Function: Display the language string for the number of comments the current post has.
Source: wp-includes/comment-template.php:878
Used by 1 function | Uses 2 functions
※152※
comments_open()
Function: Determines whether the current post is open for comments.
Source: wp-includes/comment-template.php:1214
Used by 11 functions | Uses 3 functions
※153※
comments_popup_link()
Function: Displays the link to the comments for the current post ID.
Source: wp-includes/comment-template.php:1527
Used by 0 functions | Uses 17 functions
※154※
comments_popup_script()
Function: Display the JS popup script to show a comment.
Source: wp-includes/deprecated.php:3744
Used by 0 functions | Uses 1 function
※155※
comments_rss()
Function: Return link to the post RSS feed.
Source: wp-includes/deprecated.php:1174
Used by 0 functions | Uses 3 functions
※156※
comments_rss_link()
Function: Print RSS comment feed link.
Source: wp-includes/deprecated.php:1119
Used by 0 functions | Uses 2 functions
※157※
comments_template()
Function: Load the comment template specified in $file.
Source: wp-includes/comment-template.php:1321
Used by 0 functions | Uses 15 functions
※158※
comment_author()
Function: Displays the author of the current comment.
Source: wp-includes/comment-template.php:60
Used by 1 function | Uses 4 functions
※159※
comment_author_email()
Function: Display the email of the author of the current global $comment.
Source: wp-includes/comment-template.php:117
Used by 0 functions | Uses 4 functions
※160※
comment_author_email_link()
Function: Display the html email link to the author of the current comment.
Source: wp-includes/comment-template.php:151
Used by 0 functions | Uses 1 function
※161※
comment_author_IP()
Function: Display the IP address of the author of the current comment.
Source: wp-includes/comment-template.php:292
Used by 0 functions | Uses 2 functions
※162※
comment_author_link()
Function: Display the html link to the url of the author of the current comment.
Source: wp-includes/comment-template.php:253
Used by 2 functions | Uses 1 function
※163※
comment_author_rss()
Function: Display the current comment author in the feed.
Source: wp-includes/feed.php:342
Used by 0 functions | Uses 1 function
※164※
comment_author_url()
Function: Display the url of the author of the current comment.
Source: wp-includes/comment-template.php:338
Used by 0 functions | Uses 4 functions
※165※
comment_author_url_link()
Function: Displays the HTML link of the url of the author of the current comment.
Source: wp-includes/comment-template.php:414
Used by 0 functions | Uses 1 function
※166※
comment_class()
Function: Generates semantic classes for each comment element.
Source: wp-includes/comment-template.php:432
Used by 4 functions | Uses 1 function
※167※
comment_date()
Function: Display the comment date of the current comment.
Source: wp-includes/comment-template.php:579
Used by 0 functions | Uses 1 function
※168※
comment_excerpt()
Function: Display the excerpt of the current comment.
Source: wp-includes/comment-template.php:635
Used by 1 function | Uses 4 functions
※169※
comment_exists()
Function: Determine if a comment exists based on author and date.
Source: wp-admin/includes/comment.php:27
Used by 0 functions | Uses 2 functions
※170※
comment_footer_die()
Function: Display error message at bottom of comments.
Source: wp-admin/includes/comment.php:209
Used by 0 functions | Uses 0 functions
※171※
comment_form()
Function: Outputs a complete commenting form for use within a template.
Source: wp-includes/comment-template.php:2252
Used by 0 functions | Uses 41 functions
※172※
comment_form_title()
Function: Display text based on comment reply status.
Source: wp-includes/comment-template.php:1935
Used by 1 function | Uses 4 functions
※173※
comment_guid()
Function: Display the feed GUID for the current comment.
Source: wp-includes/feed.php:274
Used by 0 functions | Uses 2 functions
※174※
comment_ID()
Function: Display the comment id of the current comment.
Source: wp-includes/comment-template.php:678
Used by 3 functions | Uses 1 function
※175※
comment_id_fields()
Function: Output hidden input HTML for replying to comments.
Source: wp-includes/comment-template.php:1911
Used by 0 functions | Uses 1 function
※176※
comment_link()
Function: Display the link to the comments.
Source: wp-includes/feed.php:304
Used by 0 functions | Uses 4 functions
※177※
comment_reply_link()
Function: Displays the HTML content for reply to comment link.
Source: wp-includes/comment-template.php:1740
Used by 2 functions | Uses 1 function
※178※
comment_text()
Function: Display the text of the current comment.
Source: wp-includes/comment-template.php:988
Used by 3 functions | Uses 4 functions
※179※
comment_text_rss()
Function: Display the current comment content for use in the feeds.
Source: wp-includes/feed.php:351
Used by 0 functions | Uses 3 functions
※180※
comment_time()
Function: Display the comment time of the current comment.
Source: wp-includes/comment-template.php:1048
Used by 1 function | Uses 1 function
※181※
comment_type()
Function: Display the comment type of the current comment.
Source: wp-includes/comment-template.php:1090
Used by 0 functions | Uses 3 functions
※182※
compression_test()
Function: Test support for compressing JavaScript from PHP
Source: wp-admin/includes/template.php:2262
Used by 0 functions | Uses 2 functions
※183※
confirm_another_blog_signup()
Function: Confirm a new site signup.
Source: wp-signup.php:500
Used by 1 function | Uses 9 functions
※184※
confirm_blog_signup()
Function: New site signup confirmation
Source: wp-signup.php:821
Used by 1 function | Uses 4 functions
※185※
confirm_delete_users()
Function:
Source: wp-admin/includes/ms.php:851
Used by 0 functions | Uses 17 functions
※186※
confirm_user_signup()
Function: New user signup confirmation
Source: wp-signup.php:664
Used by 1 function | Uses 4 functions
※187※
content_url()
Function: Retrieves the URL to the content directory.
Source: wp-includes/link-template.php:3351
Used by 3 functions | Uses 3 functions
※188※
convert_chars()
Function: Converts lone & characters into &
(a.k.a. &
)
Source: wp-includes/formatting.php:2360
Used by 5 functions | Uses 1 function
※189※
convert_invalid_entities()
Function: Converts invalid Unicode references range to valid range.
Source: wp-includes/formatting.php:2380
Used by 0 functions | Uses 0 functions
※190※
convert_smilies()
Function: Convert text equivalent of smilies to images.
Source: wp-includes/formatting.php:3324
Used by 0 functions | Uses 1 function
※191※
convert_to_screen()
Function: Convert a screen string to a screen object
Source: wp-admin/includes/template.php:2462
Used by 12 functions | Uses 3 functions
※192※
copy_dir()
Function: Copies a directory from one location to another via the WordPress Filesystem Abstraction.
Source: wp-admin/includes/file.php:1699
Used by 3 functions | Uses 5 functions
※193※
core_update_footer()
Function:
Source: wp-admin/includes/update.php:210
Used by 0 functions | Uses 5 functions
※194※
core_upgrade_preamble()
Function: Display upgrade WordPress for downloading latest or upgrading automatically form.
Source: wp-admin/update-core.php:218
Used by 0 functions | Uses 9 functions
※195※
count_many_users_posts()
Function: Number of posts written by a list of users.
Source: wp-includes/user.php:403
Used by 1 function | Uses 2 functions
※196※
count_users()
Function: Count number of users who have each of the user roles.
Source: wp-includes/user.php:870
Used by 3 functions | Uses 14 functions
※197※
count_user_posts()
Function: Number of posts user has written.
Source: wp-includes/user.php:369
Used by 3 functions | Uses 4 functions
※198※
create_empty_blog()
Function: Create an empty blog.
Source: wp-includes/ms-deprecated.php:396
Used by 0 functions | Uses 7 functions
※199※
create_initial_post_types()
Function: Creates the initial post types when ‘init’ action is fired.
Source: wp-includes/post.php:20
Used by 0 functions | Uses 6 functions
※200※
create_initial_rest_routes()
Function: Registers default REST API routes.
Source: wp-includes/rest-api.php:193
Used by 0 functions | Uses 17 functions
※201※
create_initial_taxonomies()
Function: Creates the initial taxonomies.
Source: wp-includes/taxonomy.php:24
Used by 0 functions | Uses 9 functions
※202※
create_user()
Function: An alias of wp_create_user().
Source: wp-includes/deprecated.php:1191
Used by 0 functions | Uses 2 functions
※203※
current_action()
Function: Retrieve the name of the current action.
Source: wp-includes/plugin.php:335
Used by 2 functions | Uses 1 function
※204※
current_datetime()
Function: Retrieves the current time as an object with the timezone from settings.
Source: wp-includes/functions.php:94
Used by 1 function | Uses 1 function
※205※
current_filter()
Function: Retrieve the name of the current filter or action.
Source: wp-includes/plugin.php:323
Used by 14 functions | Uses 0 functions
※206※
current_theme_info()
Function: Retrieves information on the current active theme.
Source: wp-admin/includes/deprecated.php:1053
Used by 0 functions | Uses 2 functions
※207※
current_theme_supports()
Function: Checks a theme’s support for a given feature.
Source: wp-includes/theme.php:2819
Used by 71 functions | Uses 3 functions
※208※
current_time()
Function: Retrieve the current time based on specified type.
Source: wp-includes/functions.php:71
Used by 33 functions | Uses 2 functions
※209※
current_user_can()
Function: Returns whether the current user has the specified capability.
Source: wp-includes/capabilities.php:651
Used by 408 functions | Uses 1 function
※210※
current_user_can_for_blog()
Function: Returns whether the current user has the specified capability for a given site.
Source: wp-includes/capabilities.php:683
Used by 0 functions | Uses 4 functions
※211※
customize_themes_print_templates()
Function: Print JS templates for the theme-browsing UI in the Customizer.
Source: wp-admin/includes/theme.php:701
Used by 0 functions | Uses 3 functions
※212※
dashboard_browser_nag_class()
Function:
Source: wp-admin/includes/dashboard.php:1619
Used by 0 functions | Uses 1 function
※213※
dashboard_php_nag_class()
Function: Adds an additional class to the PHP nag if the current version is insecure.
Source: wp-admin/includes/dashboard.php:1737
Used by 0 functions | Uses 1 function
※214※
date_i18n()
Function: Retrieves the date in localized format, based on a sum of Unix timestamp and timezone offset in seconds.
Source: wp-includes/functions.php:165
Used by 16 functions | Uses 5 functions
※215※
dbDelta()
Function: Modifies the database based on specified SQL statements.
Source: wp-admin/includes/upgrade.php:2547
Used by 4 functions | Uses 10 functions
※216※
deactivate_plugins()
Function: Deactivate a single plugin or multiple plugins.
Source: wp-admin/includes/plugin.php:734
Used by 2 functions | Uses 13 functions
※217※
deactivate_sitewide_plugin()
Function: Deprecated functionality for deactivating a network-only plugin.
Source: wp-admin/includes/ms-deprecated.php:68
Used by 0 functions | Uses 1 function
※218※
dead_db()
Function: Load custom DB error or display WordPress DB error.
Source: wp-includes/functions.php:4491
Used by 4 functions | Uses 4 functions
※219※
debug_fclose()
Function: Close the debugging file handle.
Source: wp-includes/deprecated.php:2874
Used by 0 functions | Uses 1 function
※220※
debug_fopen()
Function: Open the file handle for debugging.
Source: wp-includes/deprecated.php:2840
Used by 0 functions | Uses 1 function
※221※
debug_fwrite()
Function: Write contents to the file used for debugging.
Source: wp-includes/deprecated.php:2857
Used by 0 functions | Uses 1 function
※222※
default_password_nag()
Function:
Source: wp-admin/includes/user.php:510
Used by 0 functions | Uses 4 functions
※223※
default_password_nag_edit_user()
Function:
Source: wp-admin/includes/user.php:490
Used by 0 functions | Uses 4 functions
※224※
default_password_nag_handler()
Function:
Source: wp-admin/includes/user.php:470
Used by 0 functions | Uses 4 functions
※225※
default_topic_count_scale()
Function: Default topic count scaling for tag links.
Source: wp-includes/category-template.php:752
Used by 0 functions | Uses 0 functions
※226※
default_topic_count_text()
Function: Old callback for tag link tooltips.
Source: wp-includes/deprecated.php:3407
Used by 0 functions | Uses 0 functions
※227※
delete_all_user_settings()
Function: Delete the user settings of the current user.
Source: wp-includes/option.php:1126
Used by 0 functions | Uses 2 functions
※228※
delete_blog_option()
Function: Removes option by name for a given blog id. Prevents removal of protected WordPress options.
Source: wp-includes/ms-blogs.php:421
Used by 0 functions | Uses 4 functions
※229※
delete_comment_meta()
Function: Remove metadata matching criteria from a comment.
Source: wp-includes/comment.php:475
Used by 5 functions | Uses 1 function
※230※
delete_expired_transients()
Function: Deletes all expired transients.
Source: wp-includes/option.php:860
Used by 2 functions | Uses 7 functions
※231※
delete_get_calendar_cache()
Function: Purge the cached results of get_calendar.
Source: wp-includes/general-template.php:2287
Used by 0 functions | Uses 1 function
※232※
delete_meta()
Function: Delete post meta data by meta ID.
Source: wp-admin/includes/post.php:939
Used by 2 functions | Uses 1 function
※233※
delete_metadata()
Function: Delete metadata for the specified object.
Source: wp-includes/meta.php:330
Used by 13 functions | Uses 16 functions
※234※
delete_metadata_by_mid()
Function: Delete meta data by meta ID
Source: wp-includes/meta.php:779
Used by 11 functions | Uses 12 functions
※235※
delete_network_option()
Function: Removes a network option by name.
Source: wp-includes/option.php:1471
Used by 2 functions | Uses 11 functions
※236※
delete_option()
Function: Removes option by name. Prevents removal of protected WordPress options.
Source: wp-includes/option.php:558
Used by 23 functions | Uses 12 functions
※237※
delete_plugins()
Function: Remove directory and files of a plugin for a list of plugins.
Source: wp-admin/includes/plugin.php:879
Used by 1 function | Uses 15 functions
※238※
delete_post_meta()
Function: Deletes a post meta field for the given post ID.
Source: wp-includes/post.php:2086
Used by 22 functions | Uses 2 functions
※239※
delete_post_meta_by_key()
Function: Deletes everything from post meta matching the given meta key.
Source: wp-includes/post.php:2150
Used by 0 functions | Uses 1 function
※240※
delete_post_thumbnail()
Function: Removes the thumbnail (featured image) from the given post.
Source: wp-includes/post.php:6919
Used by 5 functions | Uses 2 functions
※241※
delete_site_meta()
Function: Removes metadata matching criteria from a site.
Source: wp-includes/ms-site.php:1067
Used by 0 functions | Uses 1 function
※242※
delete_site_meta_by_key()
Function: Deletes everything from site meta matching meta key.
Source: wp-includes/ms-site.php:1117
Used by 0 functions | Uses 1 function
※243※
delete_site_option()
Function: Removes a option by name for the current network.
Source: wp-includes/option.php:1183
Used by 4 functions | Uses 1 function
※244※
delete_site_transient()
Function: Delete a site transient.
Source: wp-includes/option.php:1690
Used by 7 functions | Uses 6 functions
※245※
delete_term_meta()
Function: Removes metadata matching criteria from a term.
Source: wp-includes/taxonomy.php:1235
Used by 0 functions | Uses 1 function
※246※
delete_theme()
Function: Remove a theme
Source: wp-admin/includes/theme.php:21
Used by 1 function | Uses 11 functions
※247※
delete_transient()
Function: Delete a transient.
Source: wp-includes/option.php:629
Used by 8 functions | Uses 6 functions
※248※
delete_usermeta()
Function: Remove user meta data.
Source: wp-includes/deprecated.php:2220
Used by 1 function | Uses 7 functions
※249※
delete_users_add_js()
Function:
Source: wp-admin/includes/user.php:531
Used by 0 functions | Uses 0 functions
※250※
delete_user_meta()
Function: Remove metadata matching criteria from a user.
Source: wp-includes/user.php:811
Used by 4 functions | Uses 1 function
References:
[1]. Functions | WordPress Developer Resources https://developer.wordpress.org/reference/functions/
EOF