Functions
-
functionload_template()
Requires the template file with WordPress environment.
-
functionload_textdomain()
Loads a .mo file into the text domain $domain.
-
functionload_theme_textdomain()
Loads the theme’s translated strings.
-
functionlocale_stylesheet()
Displays localized stylesheet link element.
-
functionlocate_block_template()
Finds a block template with equal or higher specificity than a given PHP template file.
-
functionlocate_template()
Retrieves the name of the highest priority template file that exists.
-
functionlogin_footer()
Outputs the footer for the login page.
-
functionlogin_header()
Outputs the login page header.
-
functionlogIO()
logIO() – Writes logging info to a file.
-
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.