Functions
-
functionmaintenance_nag()
Displays maintenance nag HTML message.
-
functionmake_after_block_visitor()
Returns a function that injects the hooked blocks after a given block.
-
functionmake_before_block_visitor()
Returns a function that injects the theme attribute into, and hooked blocks before, a given block.
-
functionmake_clickable()
Converts plaintext URI to HTML links.
-
functionmake_db_current()
Updates the database tables to a new schema.
-
functionmake_db_current_silent()
Updates the database tables to a new schema, but without displaying results.
-
functionmake_site_theme()
Creates a site theme.
-
functionmake_site_theme_from_default()
Creates a site theme from the default theme.
-
functionmake_site_theme_from_oldschool()
Creates a site theme from an existing theme.
-
functionmake_url_footnote()
Strip HTML and put links at the bottom of stripped content.
-
functionmap_deep()
Maps a function to all non-iterable elements of an array or an object.
-
functionmap_meta_cap()
Maps a capability to the primitive capabilities required of the given user to satisfy the capability being checked.
-
functionmaybe_add_column()
Adds column to a database table, if it doesn’t already exist.
-
Adds a new user to a blog by visiting /newbloguser/{key}/.
-
functionmaybe_convert_table_to_utf8mb4()
If a table only contains utf8 or utf8mb4 columns, convert it to utf8mb4.
-
functionmaybe_create_table()
Creates a table in the database, if it doesn’t already exist.
-
Disables the Automattic widgets plugin, which was merged into core.
-
functionmaybe_disable_link_manager()
Disables the Link Manager on upgrade if, at the time of upgrade, no links exist in the DB.
-
functionmaybe_drop_column()
Drops column from database table, if it exists.
-
functionmaybe_hash_hex_color()
Ensures that any hex color is properly hashed.
-
functionmaybe_redirect_404()
Corrects 404 redirects when NOBLOGREDIRECT is defined.
-
functionmaybe_serialize()
Serializes data, if needed.
-
functionmaybe_unserialize()
Unserializes data only if it was serialized.
-
functionmbstring_binary_safe_encoding()
Sets the mbstring internal encoding to a binary safe encoding when func_overload is enabled.
-
functionmedia_buttons()
Adds the media button to the editor.
-
functionmedia_handle_sideload()
Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload().
-
functionmedia_handle_upload()
Saves a file submitted from a POST request and create an attachment post for it.
-
Retrieves the post non-image attachment fields to edit form fields.
-
functionmedia_send_to_editor()
Adds image HTML to editor.
-
functionmedia_sideload_image()
Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post.