A WordPress-centric search engine for devs and theme authors

wp-admin/includes/misc.php ›

Misc WordPress Administration API.

Function Short description
admin_color_scheme_pickerDisplay the default admin color scheme picker (Used in user-edit.php)
extract_from_markersExtracts strings from between the BEGIN and END markers in the .htaccess file.
got_mod_rewriteReturns whether the server is running Apache with the mod_rewrite module loaded.
got_url_rewriteReturns whether the server supports URL rewriting.
heartbeat_autosaveAutosave with heartbeat
iis7_add_rewrite_ruleAdd WordPress rewrite rule to the IIS 7+ configuration file.
iis7_delete_rewrite_ruleDelete WordPress rewrite rule from web.config file if it exists there
iis7_rewrite_rule_existsCheck if rewrite rule for WordPress already exists in the IIS 7+ configuration file
iis7_save_url_rewrite_rulesUpdates the IIS web.config file with the current rules if it is writable.
insert_with_markersInserts an array of strings into a file (.htaccess ), placing it between BEGIN and END markers.
savedomdocumentSaves the XML document into a file
save_mod_rewrite_rulesUpdates the htaccess file with the current rules if it is writable.
set_screen_optionsSaves option for number of rows when listing posts, pages, comments, etc.
show_messageDisplays the given administration message.
update_home_siteurlFlushes rewrite rules if siteurl, home or page_on_front changed.
update_option_new_admin_emailSend a confirmation request email when a change of site admin email address is attempted.
update_recently_editedUpdate the "recently-edited" file for the plugin or theme editor.
wp_admin_canonical_urlRemove single-use URL parameters and create canonical link based on new URL.
wp_admin_headersSend a referrer policy header so referrers are not sent externally from administration screens.
wp_check_locked_postsCheck lock status for posts displayed on the Posts screen
wp_heartbeat_set_suspensionDisable suspension of Heartbeat on the Add/Edit Post screens.
wp_make_plugin_file_treeMakes a tree structure for the Plugin Editor's file list.
wp_make_theme_file_treeMakes a tree structure for the Theme Editor's file list.
wp_page_reload_on_back_button_jsOutputs JS that reloads the page if the user navigated to it with the Back or Forward button.
wp_print_plugin_file_treeOutputs the formatted file list for the Plugin Editor.
wp_print_theme_file_treeOutputs the formatted file list for the Theme Editor.
wp_refresh_post_lockCheck lock status on the New/Edit Post screen and refresh the lock
wp_refresh_post_noncesCheck nonce expiration on the New/Edit Post screen and refresh if needed
wp_reset_varsResets global variables based on $_GET and $_POST