wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp-admin/includes/template.php › WordPress File

功能45
Template WordPress Administration API.


Function Short description
add_meta_boxAdds a meta box to one or more screens.
add_settings_errorRegisters a settings error to be displayed to the user.
add_settings_fieldAdds a new field to a section of a settings page.
add_settings_sectionAdds a new section to a settings page.
compression_testTests support for compressing JavaScript from PHP.
convert_to_screenConverts a screen string to a screen object.
do_accordion_sectionsMeta Box Accordion Template Function.
do_block_editor_incompatible_meta_boxRenders a "fake" meta box with an information message, shown on the block editor, when an incompatible meta box is found.
do_meta_boxesMeta-Box template function.
do_settings_fieldsPrints out the settings fields for a particular settings section.
do_settings_sectionsPrints out all settings sections added to a particular settings page.
find_posts_divOutputs the modal window used for attaching media to posts or pages in the media-listing screen.
get_inline_dataAdds hidden fields with the data for use in the inline editor for posts and pages.
get_media_statesRetrieves an array of media states from an attachment.
get_post_statesRetrieves an array of post states from a post.
get_settings_errorsFetches settings errors registered by add_settings_error().
get_submit_buttonReturns a submit button, with provided text and appropriate class.
iframe_footerGeneric Iframe footer for use with Thickbox.
iframe_headerGeneric Iframe header for use with Thickbox.
list_metaOutputs a post's public meta data in the Custom Fields meta box.
meta_formPrints the form in the Custom Fields meta box.
page_template_dropdownPrints out option HTML elements for the page templates drop-down.
parent_dropdownPrints out option HTML elements for the page parents drop-down.
remove_meta_boxRemoves a meta box from one or more screens.
settings_errorsDisplays settings errors registered by add_settings_error().
submit_buttonEchoes a submit button, with provided text and appropriate class(es).
the_post_passwordDisplays the post password.
touch_timePrints out HTML form date elements for editing post or comment publish date.
wp_category_checklistOutputs an unordered list of checkbox input elements labeled with category names.
wp_comment_replyOutputs the in-line comment reply-to form in the Comments list table.
wp_comment_trashnoticeOutputs 'undo move to Trash' text for comments.
wp_dropdown_rolesPrints out option HTML elements for role selectors.
wp_import_upload_formOutputs the form used by the importers to accept the data to be imported.
wp_link_category_checklistOutputs a link category checklist element.
wp_popular_terms_checklistRetrieves a list of the most popular terms from the specified taxonomy.
wp_star_ratingOutputs a HTML element with a star rating for a given rating.
wp_terms_checklistOutputs an unordered list of checkbox input elements labelled with term names.
_admin_search_queryDisplays the search query.
_draft_or_post_titleGets the post title.
_get_plugin_from_callbackInternal helper function to find the plugin from a meta box callback.
_list_meta_rowOutputs a single row of public meta data in the Custom Fields meta box.
_local_storage_noticeOutputs the HTML for restoring the post data from DOM storage
_media_statesOutputs the attachment media states as HTML.
_post_statesEchoes or returns the post states as HTML.
_wp_admin_html_beginPrints out the beginning of the admin HTML header.