wp_set_script_translations()
Sets translated strings for a script.
Welcome to the WPPaste WordPress Function index. This page contains a an alphabetically sorted list of functions that are available for use in WordPress. Each function has a brief description of what it does and how it can be used. To find out more about a particular function, simply click on the function name.
Sets translated strings for a script.
Set the sidebar widget option to update sidebars.
Sets a custom slug when creating auto-draft template parts.
Set the database table prefix and the format specifiers for database table columns.
Sets a cookie for a user who just logged in. This function is deprecated.
Decorates a menu item object with the shared navigation menu item properties.
Enables the widgets block editor. This is hooked into ‘after_setup_theme’ so that the block editor is enabled by default but can…
Outputs the JavaScript to handle the form shaking on the login page.
Sends a Link: rel=shortlink header if a shortlink is defined for the current page.
Injects rel=shortlink into the head if a shortlink is defined for the current page.