New and updated in 4.7.0
-
Gets the path to a translation file in the languages directory for the current locale.
-
functionget_user_locale()
Retrieves the locale of a user.
-
Callback for validating a background setting value.
-
Exports header video settings to facilitate selective refresh.
-
Callback for validating the header_video value.
-
Callback for validating the external_header_video value.
-
Returns whether there are published pages.
-
Gets messenger channel.
-
Determines whether the admin and the frontend are on different domains.
-
Gets URLs allowed to be previewed.
-
Updates stashed theme mod settings.
-
Filters whether a changeset has changed to create a new revision.
-
Publishes the values of a changeset.
-
Saves the post for the loaded changeset.
-
Filters the settings’ data that will be persisted into the changeset.
-
Removes customize_messenger_channel query parameter from the preview window when it is not in an iframe.
-
Filters the X-Frame-Options and Content-Security-Policy headers to ensure frontend can load in customizer.
-
Adds customize state query params to a given URL if preview is allowed.
-
Imports theme starter content into the customized state.
-
Prepares starter content attachments.
-
Saves starter content changeset.
-
Gets changeset data.
-
Finds the changeset post ID for a given changeset UUID.
-
Gets the changeset post ID for the loaded changeset.
-
Gets the data stored in a changeset post.
-
Gets the changeset UUID.
-
Publishes a snapshot’s changes.
-
Filters changeset post data upon insert to ensure post_name is intact.
-
Filters the expanded array of starter content.
-
functionget_theme_starter_content()
Expands a theme’s starter content configuration using core-provided data.