WordPress开发必备:WordPress5.3.*函数大全[3/6]

说明

【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.* 版主程序,此前及此后的版本中一些常用函数的变化通常不会太大,也可以参考本系列文章列出的函数。

正文

※501※

get_current_screen()

Function: Get the current screen object
Source: wp-admin/includes/screen.php:222
Used by 28 functions | Uses 0 functions

※502※

get_current_site()

Function: Get the current network.
Source: wp-includes/ms-functions.php:1742
Used by 0 functions | Uses 0 functions

※503※

get_current_site_name()

Function: This deprecated function formerly set the site_name property of the $current_site object.
Source: wp-includes/ms-load.php:522
Used by 0 functions | Uses 1 function

※504※

get_current_theme()

Function: Retrieve current theme name.
Source: wp-includes/deprecated.php:2940
Used by 0 functions | Uses 4 functions

※505※

get_current_user_id()

Function: Get the current user’s ID
Source: wp-includes/user.php:439
Used by 98 functions | Uses 1 function

※506※

get_custom_header()

Function: Get the header image data.
Source: wp-includes/theme.php:1326
Used by 3 functions | Uses 8 functions

※507※

get_custom_header_markup()

Function: Retrieve the markup for a custom header.
Source: wp-includes/theme.php:1563
Used by 1 function | Uses 3 functions

※508※

get_custom_logo()

Function: Returns a custom logo, linked to home.
Source: wp-includes/general-template.php:948
Used by 2 functions | Uses 13 functions

※509※

get_dashboard_blog()

Function: Get the “dashboard blog”, the blog where users without a blog edit their profile data.
Source: wp-includes/ms-deprecated.php:26
Used by 0 functions | Uses 4 functions

※510※

get_dashboard_url()

Function: Retrieves the URL to the user’s dashboard.
Source: wp-includes/link-template.php:3678
Used by 5 functions | Uses 11 functions

※511※

get_date_from_gmt()

Function: Converts a GMT date into the correct format for the blog.
Source: wp-includes/formatting.php:3520
Used by 7 functions | Uses 1 function

※512※

get_date_template()

Function: Retrieve path of date template in current or parent template.
Source: wp-includes/template.php:339
Used by 0 functions | Uses 1 function

※513※

get_day_link()

Function: Retrieves the permalink for the day archives with year and month.
Source: wp-includes/link-template.php:546
Used by 3 functions | Uses 7 functions

※514※

get_default_comment_status()

Function: Gets the default comment status for a post type.
Source: wp-includes/comment.php:276
Used by 4 functions | Uses 4 functions

※515※

get_default_feed()

Function: Retrieve the default feed.
Source: wp-includes/feed.php:78
Used by 15 functions | Uses 2 functions

※516※

get_default_link_to_edit()

Function: Retrieves the default link for editing.
Source: wp-admin/includes/bookmark.php:61
Used by 0 functions | Uses 3 functions

※517※

get_default_page_to_edit()

Function: Gets the default page information to use.
Source: wp-admin/includes/deprecated.php:1106
Used by 0 functions | Uses 2 functions

※518※

get_default_post_to_edit()

Function: Default post information to use when populating the “Write Post” form.
Source: wp-admin/includes/post.php:650
Used by 5 functions | Uses 17 functions

※519※

get_delete_post_link()

Function: Retrieves the delete posts link for post.
Source: wp-includes/link-template.php:1451
Used by 3 functions | Uses 9 functions

※520※

get_dirsize()

Function: Get the size of a directory.
Source: wp-includes/functions.php:7185
Used by 1 function | Uses 5 functions

※521※

get_dropins()

Function: Check the wp-content directory and retrieve all drop-ins with any plugin data.
Source: wp-admin/includes/plugin.php:428
Used by 2 functions | Uses 2 functions

※522※

get_dynamic_block_names()

Function: Returns an array of the names of all registered dynamic block types.
Source: wp-includes/blocks.php:103
Used by 0 functions | Uses 1 function

※523※

get_editable_authors()

Function: Gets author users who can edit posts.
Source: wp-admin/includes/deprecated.php:251
Used by 0 functions | Uses 4 functions

※524※

get_editable_roles()

Function: Fetch a filtered list of user roles that the current user is allowed to edit.
Source: wp-admin/includes/user.php:263
Used by 4 functions | Uses 3 functions

※525※

get_editable_user_ids()

Function: Gets the IDs of any users who can edit posts.
Source: wp-admin/includes/deprecated.php:279
Used by 2 functions | Uses 7 functions

※526※

get_editor_stylesheets()

Function: Retrieve any registered editor stylesheets
Source: wp-includes/theme.php:1984
Used by 1 function | Uses 8 functions

※527※

get_edit_bookmark_link()

Function: Displays the edit bookmark link.
Source: wp-includes/link-template.php:1555
Used by 3 functions | Uses 5 functions

※528※

get_edit_comment_link()

Function: Retrieves the edit comment link.
Source: wp-includes/link-template.php:1494
Used by 1 function | Uses 5 functions

※529※

get_edit_post_link()

Function: Retrieves the edit post link for post.
Source: wp-includes/link-template.php:1356
Used by 18 functions | Uses 6 functions

※530※

get_edit_profile_url()

Function: Retrieves the URL to the user’s profile editor.
Source: wp-includes/link-template.php:3724
Used by 6 functions | Uses 8 functions

※531※

get_edit_tag_link()

Function: Retrieves the edit link for a tag.
Source: wp-includes/link-template.php:945
Used by 0 functions | Uses 3 functions

※532※

get_edit_term_link()

Function: Retrieves the URL for editing a given term.
Source: wp-includes/link-template.php:994
Used by 6 functions | Uses 8 functions

※533※

get_edit_user_link()

Function: Retrieves the edit user link.
Source: wp-includes/link-template.php:1617
Used by 5 functions | Uses 8 functions

※534※

get_embed_template()

Function: Retrieves an embed template path in the current or parent template.
Source: wp-includes/template.php:553
Used by 0 functions | Uses 3 functions

※535※

get_enclosed()

Function: Retrieve enclosures already enclosed for a post.
Source: wp-includes/post.php:4712
Used by 1 function | Uses 3 functions

※536※

get_extended()

Function: Get extended entry info ().
Source: wp-includes/post.php:712
Used by 3 functions | Uses 0 functions

※537※

get_feed_build_date()

Function: Get the timestamp of the most recently modified post from WP_Query.
Source: wp-includes/feed.php:665
Used by 0 functions | Uses 7 functions

※538※

get_feed_link()

Function: Retrieves the permalink for the feed type.
Source: wp-includes/link-template.php:616
Used by 4 functions | Uses 7 functions

※539※

get_file()

Function:
Source: wp-admin/includes/noop.php:96
Used by 0 functions | Uses 0 functions

※540※

get_filesystem_method()

Function: Determines which method to use for reading, writing, modifying, or deleting files on the filesystem.
Source: wp-admin/includes/file.php:1850
Used by 4 functions | Uses 3 functions

※541※

get_file_data()

Function: Retrieve metadata from a file.
Source: wp-includes/functions.php:5697
Used by 5 functions | Uses 3 functions

※542※

get_file_description()

Function: Get the description for standard WordPress theme files and other various standard WordPress files
Source: wp-admin/includes/file.php:79
Used by 1 function | Uses 2 functions

※543※

get_footer()

Function: Load footer template.
Source: wp-includes/general-template.php:57
Used by 0 functions | Uses 3 functions

※544※

get_front_page_template()

Function: Retrieve path of front page template in current or parent template.
Source: wp-includes/template.php:373
Used by 0 functions | Uses 1 function

※545※

get_gmt_from_date()

Function: Returns a date in the GMT equivalent.
Source: wp-includes/formatting.php:3498
Used by 9 functions | Uses 1 function

※546※

get_header()

Function: Load header template.
Source: wp-includes/general-template.php:22
Used by 0 functions | Uses 3 functions

※547※

get_header_image()

Function: Retrieve header image for custom header.
Source: wp-includes/theme.php:1076
Used by 7 functions | Uses 6 functions

※548※

get_header_image_tag()

Function: Create image tag markup for a custom header image.
Source: wp-includes/theme.php:1099
Used by 2 functions | Uses 10 functions

※549※

get_header_textcolor()

Function: Retrieves the custom header text color in 3- or 6-digit hexadecimal form.
Source: wp-includes/theme.php:1027
Used by 2 functions | Uses 2 functions

※550※

get_header_video_settings()

Function: Retrieve header video settings.
Source: wp-includes/theme.php:1470
Used by 2 functions | Uses 9 functions

※551※

get_header_video_url()

Function: Retrieve header video URL for custom header.
Source: wp-includes/theme.php:1426
Used by 3 functions | Uses 8 functions

※552※

get_hidden_columns()

Function: Get a list of hidden columns.
Source: wp-admin/includes/screen.php:54
Used by 3 functions | Uses 5 functions

※553※

get_hidden_meta_boxes()

Function: Get Hidden Meta Boxes
Source: wp-admin/includes/screen.php:151
Used by 4 functions | Uses 5 functions

※554※

get_home_path()

Function: Get the absolute filesystem path to the root of the WordPress installation
Source: wp-admin/includes/file.php:105
Used by 4 functions | Uses 3 functions

※555※

get_home_template()

Function: Retrieve path of home template in current or parent template.
Source: wp-includes/template.php:355
Used by 0 functions | Uses 1 function

※556※

get_home_url()

Function: Retrieves the URL for a given site where the front end is accessible.
Source: wp-includes/link-template.php:3164
Used by 16 functions | Uses 9 functions

※557※

get_html_split_regex()

Function: Retrieve the regular expression for an HTML element.
Source: wp-includes/formatting.php:637
Used by 1 function | Uses 0 functions

※558※

get_http_origin()

Function: Get the HTTP Origin of the current request.
Source: wp-includes/http.php:393
Used by 3 functions | Uses 2 functions

※559※

get_id_from_blogname()

Function: Retrieves a sites ID given its (subdomain or directory) slug.
Source: wp-includes/ms-blogs.php:86
Used by 2 functions | Uses 3 functions

※560※

get_images_from_uri()

Function: Retrieve all image URLs from given URI.
Source: wp-admin/press-this.php:169
Used by 0 functions | Uses 0 functions

※561※

get_image_send_to_editor()

Function: Retrieves the image HTML to send to the editor.
Source: wp-admin/includes/media.php:133
Used by 2 functions | Uses 4 functions

※562※

get_image_tag()

Function: Gets an img tag for an image attachment, scaling it down if requested.
Source: wp-includes/media.php:368
Used by 1 function | Uses 6 functions

※563※

get_importers()

Function: Retrieve list of importers.
Source: wp-admin/includes/import.php:17
Used by 0 functions | Uses 0 functions

※564※

get_index_rel_link()

Function: Get site index relational link.
Source: wp-includes/deprecated.php:2724
Used by 1 function | Uses 6 functions

※565※

get_index_template()

Function: Retrieve path of index template in current or parent template.
Source: wp-includes/template.php:78
Used by 0 functions | Uses 1 function

※566※

get_inline_data()

Function: Adds hidden fields with the data for use in the inline editor for posts and pages.
Source: wp-admin/includes/template.php:304
Used by 1 function | Uses 19 functions

※567※

get_intermediate_image_sizes()

Function: Gets the available intermediate image sizes.
Source: wp-includes/media.php:838
Used by 6 functions | Uses 3 functions

※568※

get_language_attributes()

Function: Gets the language attributes for the html tag.
Source: wp-includes/general-template.php:3950
Used by 2 functions | Uses 6 functions

※569※

get_lastcommentmodified()

Function: The date the last comment was modified.
Source: wp-includes/comment.php:323
Used by 1 function | Uses 4 functions

※570※

get_lastpostdate()

Function: Retrieves the most recent time that a post on the site was published.
Source: wp-includes/post.php:6390
Used by 1 function | Uses 3 functions

※571※

get_lastpostmodified()

Function: Get the most recent time that a post on the site was modified.
Source: wp-includes/post.php:6419
Used by 2 functions | Uses 5 functions

※572※

get_last_updated()

Function: Get a list of most recently updated blogs.
Source: wp-includes/ms-blogs.php:756
Used by 0 functions | Uses 4 functions

※573※

get_link()

Function: Retrieves bookmark data based on ID.
Source: wp-includes/deprecated.php:2000
Used by 0 functions | Uses 2 functions

※574※

get_linkcatname()

Function: Gets the name of category by id.
Source: wp-includes/deprecated.php:1091
Used by 0 functions | Uses 3 functions

※575※

get_linkobjects()

Function: Gets an array of link objects associated with category n.
Source: wp-includes/deprecated.php:508
Used by 1 function | Uses 2 functions

※576※

get_linkobjectsbyname()

Function: Gets an array of link objects associated with category $cat_name.
Source: wp-includes/deprecated.php:457
Used by 0 functions | Uses 3 functions

※577※

get_linkrating()

Function: Legacy function that retrieved the value of a link’s link_rating field.
Source: wp-includes/deprecated.php:1076
Used by 1 function | Uses 2 functions

※578※

get_links()

Function: Gets the links associated with category by id.
Source: wp-includes/deprecated.php:924
Used by 3 functions | Uses 8 functions

※579※

get_linksbyname()

Function: Gets the links associated with category $cat_name.
Source: wp-includes/deprecated.php:395
Used by 1 function | Uses 3 functions

※580※

get_linksbyname_withrating()

Function: Gets the links associated with category ‘cat_name’ and display rating stars/chars.
Source: wp-includes/deprecated.php:540
Used by 0 functions | Uses 2 functions

※581※

get_links_list()

Function: Output entire list of links by category.
Source: wp-includes/deprecated.php:1017
Used by 0 functions | Uses 5 functions

※582※

get_links_withrating()

Function: Gets the links associated with category n and display rating stars/chars.
Source: wp-includes/deprecated.php:567
Used by 0 functions | Uses 2 functions

※583※

get_link_to_edit()

Function: Retrieves link data based on its ID.
Source: wp-admin/includes/bookmark.php:140
Used by 0 functions | Uses 1 function

※584※

get_locale()

Function: Retrieves the current locale.
Source: wp-includes/l10n.php:30
Used by 21 functions | Uses 6 functions

※585※

get_locale_stylesheet_uri()

Function: Retrieves the localized stylesheet URI.
Source: wp-includes/theme.php:273
Used by 1 function | Uses 5 functions

※586※

get_main_network_id()

Function: Get the main network ID.
Source: wp-includes/functions.php:5243
Used by 4 functions | Uses 5 functions

※587※

get_main_site_id()

Function: Gets the main site ID.
Source: wp-includes/functions.php:5201
Used by 2 functions | Uses 3 functions

※588※

get_media_embedded_in_content()

Function: Check the content blob for an audio, video, object, embed, or iframe tags.
Source: wp-includes/media.php:4043
Used by 0 functions | Uses 2 functions

※589※

get_media_item()

Function: Retrieve HTML form for modifying the image attachment.
Source: wp-admin/includes/media.php:1537
Used by 1 function | Uses 32 functions

※590※

get_media_items()

Function: Retrieve HTML for media items of post gallery.
Source: wp-admin/includes/media.php:1484
Used by 3 functions | Uses 3 functions

※591※

get_metadata()

Function: Retrieve metadata for the specified object.
Source: wp-includes/meta.php:488
Used by 11 functions | Uses 6 functions

※592※

get_metadata_by_mid()

Function: Get meta data by meta ID
Source: wp-includes/meta.php:603
Used by 7 functions | Uses 6 functions

※593※

get_meta_keys()

Function: Get a list of previously defined keys.
Source: wp-admin/includes/post.php:952
Used by 0 functions | Uses 1 function

※594※

get_meta_sql()

Function: Given a meta query, generates SQL clauses to be appended to a main query.
Source: wp-includes/meta.php:1003
Used by 0 functions | Uses 1 function

※595※

get_month_link()

Function: Retrieves the permalink for the month archives with year.
Source: wp-includes/link-template.php:505
Used by 3 functions | Uses 7 functions

※596※

get_most_active_blogs()

Function: Deprecated functionality to retrieve a list of the most active sites.
Source: wp-includes/ms-deprecated.php:219
Used by 0 functions | Uses 3 functions

※597※

get_most_recent_post_of_user()

Function: Get a user’s most recent post.
Source: wp-includes/ms-functions.php:1760
Used by 0 functions | Uses 4 functions

※598※

get_mu_plugins()

Function: Check the mu-plugins directory and retrieve all mu-plugin files with any plugin data.
Source: wp-admin/includes/plugin.php:359
Used by 2 functions | Uses 1 function

※599※

get_nav_menu_locations()

Function: Retrieves all registered navigation menu locations and the menus assigned to them.
Source: wp-includes/nav-menu.php:164
Used by 6 functions | Uses 1 function

※600※

get_network()

Function: Retrieves network data given a network ID or network object.
Source: wp-includes/ms-network.php:23
Used by 32 functions | Uses 4 functions

※601※

get_networks()

Function: Retrieves a list of networks.
Source: wp-includes/ms-network.php:63
Used by 4 functions | Uses 1 function

※602※

get_network_by_path()

Function: Retrieve the closest matching network for a domain and path.
Source: wp-includes/ms-load.php:141
Used by 0 functions | Uses 1 function

※603※

get_network_option()

Function: Retrieve a network’s option value based on the option name.
Source: wp-includes/option.php:1217
Used by 9 functions | Uses 12 functions

※604※

get_next_comments_link()

Function: Retrieves the link to the next comments page.
Source: wp-includes/link-template.php:2860
Used by 2 functions | Uses 8 functions

※605※

get_next_post()

Function: Retrieves the next post that is adjacent to the current post.
Source: wp-includes/link-template.php:1677
Used by 1 function | Uses 1 function

※606※

get_next_posts_link()

Function: Retrieves the next posts page link.
Source: wp-includes/link-template.php:2352
Used by 3 functions | Uses 5 functions

※607※

get_next_posts_page_link()

Function: Retrieves the next posts page link.
Source: wp-includes/link-template.php:2307
Used by 1 function | Uses 2 functions

※608※

get_next_post_link()

Function: Retrieves the next post link that is adjacent to the current post.
Source: wp-includes/link-template.php:2112
Used by 2 functions | Uses 1 function

※609※

get_nonauthor_user_ids()

Function: Gets all users who are not authors.
Source: wp-admin/includes/deprecated.php:314
Used by 0 functions | Uses 5 functions

※610※

get_num_queries()

Function: Retrieve the number of database queries during the WordPress execution.
Source: wp-includes/functions.php:1479
Used by 0 functions | Uses 0 functions

※611※

get_objects_in_term()

Function: Retrieve object_ids of valid taxonomy and term.
Source: wp-includes/taxonomy.php:711
Used by 2 functions | Uses 8 functions

※612※

get_object_subtype()

Function: Returns the object subtype for a given object ID of a specific type.
Source: wp-includes/meta.php:1406
Used by 6 functions | Uses 6 functions

※613※

get_object_taxonomies()

Function: Return the names or objects of the taxonomies which are registered for the requested object or object type, such as a post object or post type name.
Source: wp-includes/taxonomy.php:222
Used by 34 functions | Uses 1 function

※614※

get_object_term_cache()

Function: Retrieves the cached term objects for the given object ID.
Source: wp-includes/taxonomy.php:3324
Used by 8 functions | Uses 4 functions

※615※

get_oembed_endpoint_url()

Function: Retrieves the oEmbed endpoint URL for a given permalink.
Source: wp-includes/embed.php:396
Used by 1 function | Uses 4 functions

※616※

get_oembed_response_data()

Function: Retrieves the oEmbed response data for a given post.
Source: wp-includes/embed.php:501
Used by 2 functions | Uses 11 functions

※617※

get_oembed_response_data_for_url()

Function: Retrieves the oEmbed response data for a given URL.
Source: wp-includes/embed.php:576
Used by 2 functions | Uses 13 functions

※618※

get_oembed_response_data_rich()

Function: Filters the oEmbed response data to return an iframe embed code.
Source: wp-includes/embed.php:649
Used by 0 functions | Uses 8 functions

※619※

get_option()

Function: Retrieves an option value based on an option name.
Source: wp-includes/option.php:30
Used by 312 functions | Uses 15 functions

※620※

get_others_drafts()

Function: Retrieve drafts from other users.
Source: wp-admin/includes/deprecated.php:717
Used by 0 functions | Uses 2 functions

※621※

get_others_pending()

Function: Retrieve pending review posts from other users.
Source: wp-admin/includes/deprecated.php:732
Used by 0 functions | Uses 2 functions

※622※

get_others_unpublished_posts()

Function: Retrieves editable posts from other users.
Source: wp-admin/includes/deprecated.php:684
Used by 2 functions | Uses 5 functions

※623※

get_page()

Function: Retrieves page data given a page ID or page object.
Source: wp-includes/post.php:4866
Used by 0 functions | Uses 1 function

※624※

get_paged_template()

Function: Retrieve path of paged template in current or parent template.
Source: wp-includes/deprecated.php:3788
Used by 0 functions | Uses 2 functions

※625※

get_pagenum_link()

Function: Retrieves the link for a page number.
Source: wp-includes/link-template.php:2227
Used by 3 functions | Uses 13 functions

※626※

get_pages()

Function: Retrieve a list of pages (or hierarchical post type items).
Source: wp-includes/post.php:5194
Used by 5 functions | Uses 18 functions

※627※

get_page_by_path()

Function: Retrieves a page given its path.
Source: wp-includes/post.php:4883
Used by 9 functions | Uses 6 functions

※628※

get_page_by_title()

Function: Retrieve a page given its title.
Source: wp-includes/post.php:4985
Used by 0 functions | Uses 4 functions

※629※

get_page_children()

Function: Identify descendants of a given page ID in a list of page objects.
Source: wp-includes/post.php:5031
Used by 1 function | Uses 0 functions

※630※

get_page_hierarchy()

Function: Order the pages with children under parents in a flat list.
Source: wp-includes/post.php:5072
Used by 1 function | Uses 1 function

※631※

get_page_link()

Function: Retrieves the permalink for the current page or page ID.
Source: wp-includes/link-template.php:329
Used by 1 function | Uses 6 functions

※632※

get_page_of_comment()

Function: Calculate what page number a comment will appear on for comment paging.
Source: wp-includes/comment.php:1048
Used by 2 functions | Uses 8 functions

※633※

get_page_statuses()

Function: Retrieve all of the WordPress support page statuses.
Source: wp-includes/post.php:957
Used by 1 function | Uses 1 function

※634※

get_page_template()

Function: Retrieve path of page template in current or parent template.
Source: wp-includes/template.php:425
Used by 0 functions | Uses 6 functions

※635※

get_page_templates()

Function: Get the Page Templates available in this theme
Source: wp-admin/includes/theme.php:124
Used by 5 functions | Uses 2 functions

※636※

get_page_template_slug()

Function: Get the specific template name for a given post.
Source: wp-includes/post-template.php:1778
Used by 8 functions | Uses 2 functions

※637※

get_page_uri()

Function: Build the URI path for a page.
Source: wp-includes/post.php:5123
Used by 4 functions | Uses 3 functions

※638※

get_parent_post_rel_link()

Function: Get parent post relational link.
Source: wp-includes/deprecated.php:2752
Used by 1 function | Uses 8 functions

※639※

get_parent_theme_file_path()

Function: Retrieves the path of a file in the parent theme.
Source: wp-includes/link-template.php:4362
Used by 0 functions | Uses 3 functions

※640※

get_parent_theme_file_uri()

Function: Retrieves the URL of a file in the parent theme.
Source: wp-includes/link-template.php:4301
Used by 0 functions | Uses 3 functions

※641※

get_password_reset_key()

Function: Creates, stores, then returns a password reset key for user.
Source: wp-includes/user.php:2258
Used by 2 functions | Uses 13 functions

※642※

get_pending_comments_num()

Function: Get the number of pending comments on a post or posts
Source: wp-admin/includes/comment.php:143
Used by 5 functions | Uses 2 functions

※643※

get_permalink()

Function: Retrieves the full permalink for the current post or post ID.
Source: wp-includes/link-template.php:119
Used by 66 functions | Uses 18 functions

※644※

get_plugins()

Function: Check the plugins directory and retrieve all plugin files with plugin data.
Source: wp-admin/includes/plugin.php:278
Used by 15 functions | Uses 4 functions

※645※

get_plugin_data()

Function: Parses the plugin contents to retrieve plugin’s metadata.
Source: wp-admin/includes/plugin.php:68
Used by 10 functions | Uses 5 functions

※646※

get_plugin_files()

Function: Get a list of a plugin’s files.
Source: wp-admin/includes/plugin.php:231
Used by 1 function | Uses 4 functions

※647※

get_plugin_page_hook()

Function:
Source: wp-admin/includes/plugin.php:1961
Used by 2 functions | Uses 2 functions

※648※

get_plugin_page_hookname()

Function:
Source: wp-admin/includes/plugin.php:1978
Used by 4 functions | Uses 1 function

※649※

get_plugin_updates()

Function:
Source: wp-admin/includes/update.php:350
Used by 4 functions | Uses 2 functions

※650※

get_post()

Function: Retrieves post data given a post ID or post object.
Source: wp-includes/post.php:753
Used by 318 functions | Uses 3 functions

※651※

get_postdata()

Function: Retrieves all post data for a given post.
Source: wp-includes/deprecated.php:25
Used by 0 functions | Uses 2 functions

※652※

get_posts()

Function: Retrieves an array of the latest posts, or posts matching the given criteria.
Source: wp-includes/post.php:2003
Used by 18 functions | Uses 3 functions

※653※

get_posts_by_author_sql()

Function: Retrieve the post SQL based on capability, author, and type.
Source: wp-includes/post.php:6305
Used by 4 functions | Uses 7 functions

※654※

get_posts_nav_link()

Function: Retrieves the post pages link navigation for previous and next pages.
Source: wp-includes/link-template.php:2497
Used by 1 function | Uses 6 functions

※655※

get_post_ancestors()

Function: Retrieve ancestors of a post.
Source: wp-includes/post.php:796
Used by 3 functions | Uses 1 function

※656※

get_post_class()

Function: Retrieves an array of the class names for the post container element.
Source: wp-includes/post-template.php:479
Used by 2 functions | Uses 18 functions

※657※

get_post_comments_feed_link()

Function: Retrieves the permalink for the post comments feed.
Source: wp-includes/link-template.php:667
Used by 5 functions | Uses 13 functions

※658※

get_post_custom()

Function: Retrieve post meta fields, based on post ID.
Source: wp-includes/post.php:2198
Used by 7 functions | Uses 3 functions

※659※

get_post_custom_keys()

Function: Retrieve meta field names for a post.
Source: wp-includes/post.php:2217
Used by 2 functions | Uses 1 function

※660※

get_post_custom_values()

Function: Retrieve values for a custom post field.
Source: wp-includes/post.php:2242
Used by 1 function | Uses 1 function

※661※

get_post_datetime()

Function: Retrieve post published or modified time as a DateTimeImmutable object instance.
Source: wp-includes/general-template.php:2624
Used by 3 functions | Uses 2 functions

※662※

get_post_embed_html()

Function: Retrieves the embed code for a specific post.
Source: wp-includes/embed.php:431
Used by 2 functions | Uses 11 functions

※663※

get_post_embed_url()

Function: Retrieves the URL to embed a specific post in an iframe.
Source: wp-includes/embed.php:360
Used by 1 function | Uses 12 functions

※664※

get_post_field()

Function: Retrieve data from a post field based on Post ID.
Source: wp-includes/post.php:841
Used by 3 functions | Uses 2 functions

※665※

get_post_format()

Function: Retrieve the format slug for a post
Source: wp-includes/post-formats.php:17
Used by 10 functions | Uses 3 functions

※666※

get_post_format_link()

Function: Returns a link to a post format index.
Source: wp-includes/post-formats.php:148
Used by 0 functions | Uses 3 functions

※667※

get_post_format_slugs()

Function: Retrieves the array of post format slugs.
Source: wp-includes/post-formats.php:118
Used by 4 functions | Uses 1 function

※668※

get_post_format_string()

Function: Returns a pretty, translated version of a post format slug
Source: wp-includes/post-formats.php:131
Used by 6 functions | Uses 1 function

※669※

get_post_format_strings()

Function: Returns an array of post format slugs to their translated and pretty display versions
Source: wp-includes/post-formats.php:95
Used by 5 functions | Uses 1 function

※670※

get_post_galleries()

Function: Retrieves galleries from the passed post’s content.
Source: wp-includes/media.php:4085
Used by 2 functions | Uses 7 functions

※671※

get_post_galleries_images()

Function: Retrieve the image srcs from galleries from a post’s content, if present
Source: wp-includes/media.php:4181
Used by 0 functions | Uses 2 functions

※672※

get_post_gallery()

Function: Check a specified post’s content for gallery and, if present, return the first
Source: wp-includes/media.php:4154
Used by 1 function | Uses 3 functions

※673※

get_post_gallery_images()

Function: Checks a post’s content for galleries and return the image srcs for the first found gallery
Source: wp-includes/media.php:4196
Used by 0 functions | Uses 1 function

※674※

get_post_meta()

Function: Retrieves a post meta field for the given post ID.
Source: wp-includes/post.php:2109
Used by 61 functions | Uses 1 function

※675※

get_post_meta_by_id()

Function: Get post meta data by meta ID.
Source: wp-admin/includes/post.php:974
Used by 1 function | Uses 1 function

※676※

get_post_mime_type()

Function: Retrieve the mime type of an attachment based on the ID.
Source: wp-includes/post.php:866
Used by 3 functions | Uses 1 function

※677※

get_post_mime_types()

Function: Get default post mime types.
Source: wp-includes/post.php:2708
Used by 4 functions | Uses 7 functions

※678※

get_post_modified_time()

Function: Retrieve the time at which the post was last modified.
Source: wp-includes/general-template.php:2749
Used by 2 functions | Uses 5 functions

※679※

get_post_permalink()

Function: Retrieves the permalink for a post of a custom post type.
Source: wp-includes/link-template.php:262
Used by 1 function | Uses 11 functions

※680※

get_post_reply_link()

Function: Retrieve HTML content for reply to post link.
Source: wp-includes/comment-template.php:1767
Used by 1 function | Uses 10 functions

※681※

get_post_states()

Function: Function to retrieve an array of post states from a post.
Source: wp-admin/includes/template.php:2107
Used by 1 function | Uses 7 functions

※682※

get_post_stati()

Function: Get a list of post statuses.
Source: wp-includes/post.php:1151
Used by 18 functions | Uses 1 function

※683※

get_post_status()

Function: Retrieve the post status based on the post ID.
Source: wp-includes/post.php:887
Used by 22 functions | Uses 5 functions

※684※

get_post_statuses()

Function: Retrieve all of the WordPress supported post statuses.
Source: wp-includes/post.php:936
Used by 1 function | Uses 1 function

※685※

get_post_status_object()

Function: Retrieve a post status object by name.
Source: wp-includes/post.php:1124
Used by 15 functions | Uses 0 functions

※686※

get_post_taxonomies()

Function: Retrieve all taxonomies of a post with just the names.
Source: wp-includes/taxonomy.php:4387
Used by 0 functions | Uses 2 functions

※687※

get_post_thumbnail_id()

Function: Retrieve post thumbnail ID.
Source: wp-includes/post-thumbnail-template.php:50
Used by 16 functions | Uses 2 functions

※688※

get_post_time()

Function: Retrieve the time at which the post was written.
Source: wp-includes/general-template.php:2561
Used by 5 functions | Uses 5 functions

※689※

get_post_timestamp()

Function: Retrieve post published or modified time as a Unix timestamp.
Source: wp-includes/general-template.php:2667
Used by 2 functions | Uses 1 function

※690※

get_post_to_edit()

Function: Gets an existing post and format it for editing.
Source: wp-admin/includes/deprecated.php:1091
Used by 0 functions | Uses 2 functions

※691※

get_post_type()

Function: Retrieves the post type of the current post or of a given post.
Source: wp-includes/post.php:1206
Used by 24 functions | Uses 1 function

※692※

get_post_types()

Function: Get a list of all registered post type objects.
Source: wp-includes/post.php:1256
Used by 37 functions | Uses 1 function

※693※

get_post_types_by_support()

Function: Retrieves a list of post type names that support a specific feature.
Source: wp-includes/post.php:1922
Used by 0 functions | Uses 1 function

※694※

get_post_type_archive_feed_link()

Function: Retrieves the permalink for a post type archive feed.
Source: wp-includes/link-template.php:1268
Used by 1 function | Uses 8 functions

※695※

get_post_type_archive_link()

Function: Retrieves the permalink for a post type archive.
Source: wp-includes/link-template.php:1210
Used by 7 functions | Uses 8 functions

※696※

get_post_type_archive_template()

Function: Retrieve path of post type archive template in current or parent template.
Source: wp-includes/template.php:136
Used by 0 functions | Uses 3 functions

※697※

get_post_type_capabilities()

Function: Build an object with all post type capabilities out of a post type object
Source: wp-includes/post.php:1545
Used by 1 function | Uses 1 function

※698※

get_post_type_labels()

Function: Builds an object with all post type labels out of a post type object.
Source: wp-includes/post.php:1681
Used by 1 function | Uses 5 functions

※699※

get_post_type_object()

Function: Retrieves a post type object by name.
Source: wp-includes/post.php:1228
Used by 127 functions | Uses 0 functions

※700※

get_preferred_from_update_core()

Function: Selects the first update version from the update_core option.
Source: wp-admin/includes/update.php:14
Used by 4 functions | Uses 1 function

※701※

get_preview_post_link()

Function: Retrieves the URL used for the post preview.
Source: wp-includes/link-template.php:1315
Used by 9 functions | Uses 8 functions

※702※

get_previous_comments_link()

Function: Retrieves the link to the previous comments page.
Source: wp-includes/link-template.php:2921
Used by 2 functions | Uses 7 functions

※703※

get_previous_post()

Function: Retrieves the previous post that is adjacent to the current post.
Source: wp-includes/link-template.php:1662
Used by 1 function | Uses 1 function

※704※

get_previous_posts_link()

Function: Retrieves the previous posts page link.
Source: wp-includes/link-template.php:2448
Used by 3 functions | Uses 5 functions

※705※

get_previous_posts_page_link()

Function: Retrieves the previous posts page link.
Source: wp-includes/link-template.php:2408
Used by 1 function | Uses 2 functions

※706※

get_previous_post_link()

Function: Retrieves the previous post link that is adjacent to the current post.
Source: wp-includes/link-template.php:2079
Used by 2 functions | Uses 1 function

※707※

get_privacy_policy_template()

Function: Retrieve path of Privacy Policy page template in current or parent template.
Source: wp-includes/template.php:391
Used by 0 functions | Uses 1 function

※708※

get_privacy_policy_url()

Function: Retrieves the URL to the privacy policy page.
Source: wp-includes/link-template.php:4389
Used by 2 functions | Uses 5 functions

※709※

get_private_posts_cap_sql()

Function: Retrieve the private post SQL based on capability.
Source: wp-includes/post.php:6284
Used by 1 function | Uses 1 function

※710※

get_profile()

Function: Retrieve user data based on field.
Source: wp-includes/deprecated.php:2414
Used by 0 functions | Uses 3 functions

※711※

get_pung()

Function: Retrieve URLs already pinged for a post.
Source: wp-includes/post.php:4750
Used by 2 functions | Uses 3 functions

※712※

get_queried_object()

Function: Retrieve the currently-queried object.
Source: wp-includes/query.php:42
Used by 21 functions | Uses 1 function

※713※

get_queried_object_id()

Function: Retrieve ID of the current queried object.
Source: wp-includes/query.php:58
Used by 10 functions | Uses 1 function

※714※

get_query_template()

Function: Retrieve path to a template
Source: wp-includes/template.php:23
Used by 18 functions | Uses 4 functions

※715※

get_query_var()

Function: Retrieve variable in the WP_Query class.
Source: wp-includes/query.php:26
Used by 31 functions | Uses 1 function

※716※

get_random_header_image()

Function: Get random header image url from registered images in theme.
Source: wp-includes/theme.php:1219
Used by 2 functions | Uses 1 function

※717※

get_raw_theme_root()

Function: Get the raw theme root relative to the content directory with no filters applied.
Source: wp-includes/theme.php:668
Used by 7 functions | Uses 2 functions

※718※

get_real_file_to_edit()

Function: Get the real filesystem path to a file to edit within the admin.
Source: wp-admin/includes/deprecated.php:113
Used by 0 functions | Uses 1 function

※719※

get_registered_metadata()

Function: Retrieves registered metadata for a specified object.
Source: wp-includes/meta.php:1347
Used by 0 functions | Uses 4 functions

※720※

get_registered_meta_keys()

Function: Retrieves a list of registered meta keys for an object type.
Source: wp-includes/meta.php:1322
Used by 3 functions | Uses 0 functions

※721※

get_registered_nav_menus()

Function: Retrieves all registered navigation menu locations in a theme.
Source: wp-includes/nav-menu.php:147
Used by 5 functions | Uses 0 functions

※722※

get_registered_settings()

Function: Retrieves an array of registered settings.
Source: wp-includes/option.php:2265
Used by 2 functions | Uses 0 functions

※723※

get_rest_url()

Function: Retrieves the URL to a REST endpoint on a site.
Source: wp-includes/rest-api.php:344
Used by 7 functions | Uses 14 functions

※724※

get_role()

Function: Retrieve role object.
Source: wp-includes/capabilities.php:801
Used by 10 functions | Uses 2 functions

※725※

get_rss()

Function: Display RSS items in HTML list items.
Source: wp-includes/rss.php:939
Used by 0 functions | Uses 2 functions

※726※

get_sample_permalink()

Function: Get a sample permalink based off of the post name.
Source: wp-admin/includes/post.php:1324
Used by 2 functions | Uses 10 functions

※727※

get_sample_permalink_html()

Function: Returns the HTML of the sample permalink slug editor.
Source: wp-admin/includes/post.php:1405
Used by 1 function | Uses 11 functions

※728※

get_screen_icon()

Function: Retrieves the screen icon (no longer used in 3.8+).
Source: wp-admin/includes/deprecated.php:1240
Used by 1 function | Uses 1 function

※729※

get_search_comments_feed_link()

Function: Retrieves the permalink for the search results comments feed.
Source: wp-includes/link-template.php:1178
Used by 0 functions | Uses 6 functions

※730※

get_search_feed_link()

Function: Retrieves the permalink for the search results feed.
Source: wp-includes/link-template.php:1137
Used by 2 functions | Uses 7 functions

※731※

get_search_form()

Function: Display search form.
Source: wp-includes/general-template.php:201
Used by 1 function | Uses 15 functions

※732※

get_search_link()

Function: Retrieves the permalink for a search.
Source: wp-includes/link-template.php:1094
Used by 1 function | Uses 6 functions

※733※

get_search_query()

Function: Retrieves the contents of the search WordPress query variable.
Source: wp-includes/general-template.php:3905
Used by 5 functions | Uses 4 functions

※734※

get_search_template()

Function: Retrieve path of search template in current or parent template.
Source: wp-includes/template.php:469
Used by 0 functions | Uses 1 function

※735※

get_self_link()

Function: Returns the link for the currently displayed feed.
Source: wp-includes/feed.php:625
Used by 1 function | Uses 3 functions

※736※

get_settings()

Function: Get value based on option.
Source: wp-includes/deprecated.php:829
Used by 0 functions | Uses 2 functions

※737※

get_settings_errors()

Function: Fetch settings errors registered by add_settings_error()
Source: wp-admin/includes/template.php:1755
Used by 1 function | Uses 4 functions

※738※

get_shortcode_atts_regex()

Function: Retrieve the shortcode attributes regex.
Source: wp-includes/shortcodes.php:479
Used by 1 function | Uses 0 functions

※739※

get_shortcode_regex()

Function: Retrieve the shortcode regular expression for searching.
Source: wp-includes/shortcodes.php:230
Used by 6 functions | Uses 0 functions

※740※

get_shortcut_link()

Function: Retrieves the Press This bookmarklet link.
Source: wp-includes/deprecated.php:3907
Used by 0 functions | Uses 3 functions

※741※

get_sidebar()

Function: Load sidebar template.
Source: wp-includes/general-template.php:92
Used by 0 functions | Uses 3 functions

※742※

get_single_template()

Function: Retrieve path of single template in current or parent template. Applies to single Posts, single Attachments, and single custom post types.
Source: wp-includes/template.php:504
Used by 0 functions | Uses 4 functions

※743※

get_singular_template()

Function: Retrieves the path of the singular template in current or parent template.
Source: wp-includes/template.php:583
Used by 0 functions | Uses 1 function

※744※

get_site()

Function: Retrieves site data given a site ID or site object.
Source: wp-includes/ms-site.php:301
Used by 19 functions | Uses 5 functions

※745※

get_sites()

Function: Retrieves a list of sites matching requested arguments.
Source: wp-includes/ms-site.php:454
Used by 11 functions | Uses 1 function

※746※

get_sitestats()

Function: Gets the network’s site and user counts.
Source: wp-includes/ms-functions.php:17
Used by 0 functions | Uses 2 functions

※747※

get_site_allowed_themes()

Function: Deprecated functionality for getting themes network-enabled themes.
Source: wp-admin/includes/ms-deprecated.php:89
Used by 0 functions | Uses 2 functions

※748※

get_site_by_path()

Function: Retrieves the closest matching site object by its domain and path.
Source: wp-includes/ms-load.php:165
Used by 1 function | Uses 5 functions

※749※

get_site_icon_url()

Function: Returns the Site Icon URL.
Source: wp-includes/general-template.php:855
Used by 6 functions | Uses 8 functions

※750※

get_site_meta()

Function: Retrieves metadata for a site.
Source: wp-includes/ms-site.php:1083
Used by 0 functions | Uses 1 function

References:
[1]. Functions | WordPress Developer Resources https://developer.wordpress.org/reference/functions/

EOF


荒原之梦网全部内容均为原创,提供了涵盖考研数学基础知识、考研数学真题、考研数学练习题和计算机科学等方面,大量精心研发的学习资源。

豫 ICP 备 17023611 号-1 | 公网安备 - 荒原之梦 豫公网安备 41142502000132 号 | SiteMap
Copyright © 2017-2024 ZhaoKaifeng.com 版权所有 All Rights Reserved.

Copyright © 2024   zhaokaifeng.com   All Rights Reserved.
豫ICP备17023611号-1
 豫公网安备41142502000132号

荒原之梦 自豪地采用WordPress