Functions
-
functionattachment_url_to_postid()
Tries to convert an attachment URL into a post ID.
-
functionattribute_escape()
Escaping for HTML attributes.
-
functionauthor_can()
Returns whether the author of the supplied post has the specified capability.
-
functionauth_redirect()
Checks if a user is logged in, if not it redirects them to the login page.
-
functionautomatic_feed_links()
Enable/disable automatic general feed link outputting.
-
Avoids a collision between a site slug and a permalink slug.
-
functionbackground_color()
Displays background color value.
-
functionbackground_image()
Displays background image path.
-
functionbackslashit()
Adds backslashes before letters and before a number at the start of a string.
-
functionbalanceTags()
Balances tags if forced to, or if the ‘use_balanceTags’ option is set to true.
-
functionbefore_last_bar()
Removes last item on a pipe-delimited string.
-
Ensure that the view script has the `wp-interactivity` dependency.
-
Ensures that the view script has the `wp-interactivity` dependency.
-
Build an array with CSS classes and inline styles defining the colors which will be applied to the navigation markup in the front-end.
-
Ensure that the view script has the `wp-interactivity` dependency.
-
functionblock_editor_rest_api_preload()
Preloads common data used with the block editor by specifying an array of REST API paths that will be preloaded for a given block editor context.
-
functionblock_footer_area()
Prints the footer block template part.
-
functionblock_has_support()
Checks whether the current block type supports the feature requested.
-
functionblock_header_area()
Prints the header block template part.
-
functionblock_template_part()
Prints a block template part.
-
functionblock_version()
Returns the current version of the block format that the content string is using.
-
functionbloginfo()
Displays information about the current site.
-
functionbloginfo_rss()
Displays RSS container for the bloginfo function.
-
functionbody_class()
Displays the class names for the body element.
-
functionbool_from_yn()
Determines whether input is yes or no.
-
Helper function that constructs a comment query vars array from the passed block properties.
-
functionbuild_query()
Builds URL query based on an associative and, or indexed array.
-
Helper function that constructs a WP_Query args array from a `Query` block properties.
-
functionbulk_edit_posts()
Processes the post data for the bulk editing of posts.