wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-admin/includes/misc.php › WordPress File
Functions37
› Misc WordPress Administration API.
Function | Short description |
---|---|
admin_color_scheme_picker | Displays the default admin color scheme picker (Used in user-edit.php). |
extract_from_markers | Extracts strings from between the BEGIN and END markers in the .htaccess file. |
got_mod_rewrite | Returns whether the server is running Apache with the mod_rewrite module loaded. |
got_url_rewrite | Returns whether the server supports URL rewriting. |
heartbeat_autosave | Performs autosave with heartbeat. |
iis7_add_rewrite_rule | Adds WordPress rewrite rule to the IIS 7+ configuration file. |
iis7_delete_rewrite_rule | Deletes WordPress rewrite rule from web.config file if it exists there. |
iis7_rewrite_rule_exists | Checks if rewrite rule for WordPress already exists in the IIS 7+ configuration file. |
iis7_save_url_rewrite_rules | Updates the IIS web.config file with the current rules if it is writable. |
insert_with_markers | Inserts an array of strings into a file (.htaccess), placing it between BEGIN and END markers. |
savedomdocument | Saves the XML document into a file. |
save_mod_rewrite_rules | Updates the htaccess file with the current rules if it is writable. |
set_screen_options | Saves option for number of rows when listing posts, pages, comments, etc. |
show_message | Displays the given administration message. |
update_home_siteurl | Flushes rewrite rules if `siteurl`, `home` or `page_on_front` changed. |
update_option_new_admin_email | Sends a confirmation request email when a change of site admin email address is attempted. |
update_recently_edited | Updates the "recently-edited" file for the plugin or theme file editor. |
wp_admin_canonical_url | Removes single-use URL parameters and create canonical link based on new URL. |
wp_admin_headers | Sends a referrer policy header so referrers are not sent externally from administration screens. |
wp_admin_viewport_meta | Displays the viewport meta in the admin. |
wp_check_locked_posts | Checks lock status for posts displayed on the Posts screen. |
wp_check_php_version | Checks if the user needs to update PHP. |
wp_color_scheme_settings | - |
wp_doc_link_parse | - |
wp_heartbeat_set_suspension | Disables suspension of Heartbeat on the Add/Edit Post screens. |
wp_make_plugin_file_tree | Makes a tree structure for the plugin file editor's file list. |
wp_make_theme_file_tree | Makes a tree structure for the theme file editor's file list. |
wp_page_reload_on_back_button_js | Outputs JS that reloads the page if the user navigated to it with the Back or Forward button. |
wp_print_plugin_file_tree | Outputs the formatted file list for the plugin file editor. |
wp_print_theme_file_tree | Outputs the formatted file list for the theme file editor. |
wp_refresh_heartbeat_nonces | Adds the latest Heartbeat and REST API nonce to the Heartbeat response. |
wp_refresh_metabox_loader_nonces | Refresh nonces used with meta boxes in the block editor. |
wp_refresh_post_lock | Checks lock status on the New/Edit Post screen and refresh the lock. |
wp_refresh_post_nonces | Checks nonce expiration on the New/Edit Post screen and refresh if needed. |
wp_reset_vars | Resets global variables based on `$_GET` and `$_POST`. |
_customizer_mobile_viewport_meta | Adds viewport meta for mobile in Customizer. |
_wp_privacy_settings_filter_draft_page_titles | Appends '(Draft)' to draft page titles in the privacy page dropdown so that unpublished content is obvious. |