New and updated in 5.3.0
-
functionadd_posts_page()
Adds a submenu page to the Posts main menu.
-
functionadd_media_page()
Adds a submenu page to the Media main menu.
-
functionadd_links_page()
Adds a submenu page to the Links main menu.
-
functionget_plugin_data()
Parses the plugin contents to retrieve plugin’s metadata.
-
functionadd_settings_error()
Registers a settings error to be displayed to the user.
-
functionsettings_errors()
Displays settings errors registered by add_settings_error().
-
function_post_states()
Echoes or returns the post states as HTML.
-
functionmedia_sideload_image()
Downloads an image from the specified URL, saves it as an attachment, and optionally attaches it to a post.
-
functionmedia_handle_sideload()
Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload().
-
functionwp_iframe()
Outputs the iframe to display the media upload page.
-
methodWP_User::has_cap()
Returns whether the user has the specified capability.
-
functioncurrent_user_can_for_blog()
Returns whether the current user has the specified capability for a given site.
-
functionauthor_can()
Returns whether the author of the supplied post has the specified capability.
-
functionuser_can()
Returns whether a particular user has the specified capability.
-
functioncurrent_user_can()
Returns whether the current user has the specified capability.
-
functionmap_meta_cap()
Maps a capability to the primitive capabilities required of the given user to satisfy the capability being checked.
-
functionwalk_category_tree()
Retrieves HTML list content for category list.
-
functionwalk_category_dropdown_tree()
Retrieves HTML dropdown (select) content for category list.
-
functionadd_theme_support()
Registers theme support for a given feature.
-
functionget_theme_support()
Gets the theme support arguments passed when registering that support.
-
functioncurrent_theme_supports()
Checks a theme’s support for a given feature.
-
functionwp_sprintf()
WordPress’ implementation of PHP sprintf() with filters.
-
functionhuman_time_diff()
Determines the difference between two timestamps.
-
hookrandom_password
Filters the randomly-generated password.
-
functionwp_no_robots()
Display a `noindex` meta tag.
-
functionsafecss_filter_attr()
Filters an inline style attribute and removes disallowed rules.
-
hooksafe_style_css
Filters the list of allowed CSS attributes.
-
methodWP_Query::parse_query()
Parses a query string and sets query type booleans.
-
functionwp_allowed_protocols()
Retrieves a list of protocols to allow in HTML attributes.
-
functionwp_die()
Kills WordPress execution and displays HTML page with an error message.