Functions
-
functionget_avatar_url()
Retrieves the avatar URL.
-
functionget_background_color()
Retrieves value for custom background color.
-
functionget_background_image()
Retrieves background image for custom background.
-
functionget_block_asset_url()
Gets the URL to a block asset.
-
functionget_block_bindings_source()
Retrieves a registered block bindings source.
-
functionget_block_categories()
Returns all the categories for block types that will be shown in the block editor.
-
Prepares server-registered blocks for the block editor.
-
functionget_block_editor_settings()
Returns the contextualized block editor settings for a selected editor context.
-
functionget_block_editor_theme_styles()
Creates an array of theme styles to load into the block editor.
-
functionget_block_file_template()
Retrieves a unified template object based on a theme file.
-
functionget_block_metadata_i18n_schema()
Gets i18n schema for block’s metadata read from `block.json` file.
-
functionget_block_template()
Retrieves a single unified template object using its id.
-
functionget_block_templates()
Retrieves a list of unified template objects based on a query.
-
functionget_block_theme_folders()
For backward compatibility reasons, block themes might be using block-templates or block-template-parts, this function ensures we fallback to these folders properly.
-
functionget_block_wrapper_attributes()
Generates a string of attributes by applying to the current block being rendered all of the features that the block supports.
-
functionget_blogaddress_by_domain()
Get a full site URL, given a domain and a path.
-
functionget_blogaddress_by_id()
Gets a full site URL, given a site ID.
-
functionget_blogaddress_by_name()
Gets a full site URL, given a site name.
-
functionget_bloginfo()
Retrieves information about the current site.
-
functionget_bloginfo_rss()
Retrieves RSS container for the bloginfo function.
-
functionget_blogs_of_user()
Gets the sites a user belongs to.
-
functionget_blog_count()
Gets the number of active sites on the installation.
-
functionget_blog_details()
Retrieves the details for a blog from the blogs table and blog options.
-
functionget_blog_id_from_url()
Gets a blog’s numeric ID from its URL.
-
functionget_blog_list()
Deprecated functionality to retrieve a list of all sites.
-
functionget_blog_option()
Retrieves option value for a given blog id based on name of option.
-
functionget_blog_permalink()
Gets the permalink for a post on another blog.
-
functionget_blog_post()
Gets a blog post from any site on the network.
-
functionget_blog_status()
Gets a blog details field.
-
functionget_body_class()
Retrieves an array of the class names for the body element.