wp-includes/script-loader.php:
wp_default_packages_vendor()
|
Registers all the WordPress vendor scripts that are in the standardized js/dist/vendor/ location.
|
wp-includes/script-loader.php:
wp_default_packages()
|
Registers all the WordPress packages scripts.
|
wp-admin/includes/class-wp-privacy-policy-content.php:
WP_Privacy_Policy_Content::text_change_check()
|
Quick check if any privacy info has changed.
|
wp-admin/includes/plugin.php:
wp_add_privacy_policy_content()
|
Helper function for adding content to the Privacy Policy Guide.
|
wp-includes/ms-blogs.php:
wp_switch_roles_and_user()
|
Switches the initialized roles and current user capabilities to another site.
|
wp-includes/class-wp-editor.php:
_WP_Editors::enqueue_default_editor()
|
Enqueue all editor scripts.
|
wp-includes/class-wp-customize-manager.php:
WP_Customize_Manager::_publish_changeset_values()
|
Publish changeset values.
|
wp-includes/class-wp-customize-manager.php:
WP_Customize_Manager::import_theme_starter_content()
|
Import theme starter content into the customized state.
|
wp-includes/theme.php:
_wp_customize_publish_changeset()
|
Publishes a snapshot’s changes.
|
wp-includes/class-wp-site.php:
WP_Site::__get()
|
Getter.
|
wp-includes/class-wp-site.php:
WP_Site::__isset()
|
Isset-er.
|
wp-includes/rest-api.php:
register_rest_route()
|
Registers a REST API route.
|
wp-includes/theme.php:
add_theme_support()
|
Registers theme support for a given feature.
|
wp-includes/theme.php:
_remove_theme_support()
|
Do not use. Removes theme support internally, ignorant of the blacklist.
|
wp-includes/general-template.php:
wp_admin_css()
|
Enqueues or directly prints a stylesheet link to the specified CSS file.
|
wp-includes/load.php:
wp_load_translations_early()
|
Attempt an early load of translations.
|
wp-includes/functions.php:
wp_allowed_protocols()
|
Retrieve a list of protocols to allow in HTML attributes.
|
wp-includes/functions.php:
_default_wp_die_handler()
|
Kills WordPress execution and displays HTML page with an error message.
|
wp-includes/taxonomy.php:
create_initial_taxonomies()
|
Creates the initial taxonomies.
|
wp-includes/media.php:
wp_enqueue_media()
|
Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs.
|
wp-includes/embed.php:
wp_oembed_add_provider()
|
Adds a URL format and oEmbed provider URL pair.
|
wp-includes/embed.php:
wp_oembed_remove_provider()
|
Removes an oEmbed provider.
|
wp-includes/media.php:
wp_video_shortcode()
|
Builds the Video shortcode output.
|
wp-includes/media.php:
wp_audio_shortcode()
|
Builds the Audio shortcode output.
|
wp-includes/class-wp-rewrite.php:
WP_Rewrite::wp_rewrite_rules()
|
Retrieves the rewrite rules.
|
wp-includes/class-wp-rewrite.php:
WP_Rewrite::flush_rules()
|
Removes rewrite rules and then recreate rewrite rules.
|
wp-includes/wp-db.php:
wpdb::check_connection()
|
Checks that the connection to the database is still up. If not, try to reconnect.
|
wp-includes/wp-db.php:
wpdb::select()
|
Selects a database using the current database connection.
|
wp-includes/widgets.php:
wp_register_sidebar_widget()
|
Register an instance of a widget.
|
wp-includes/widgets.php:
wp_register_widget_control()
|
Registers widget control callback for customizing options.
|
wp-includes/widgets.php:
_register_widget_form_callback()
|
Registers the form callback for a widget.
|
wp-includes/class-wp-customize-widgets.php:
WP_Customize_Widgets::call_widget_update()
|
Finds and invokes the widget update and control callbacks.
|
wp-includes/script-loader.php:
print_head_scripts()
|
Prints the script queue in the HTML head on admin pages.
|
wp-includes/script-loader.php:
wp_print_head_scripts()
|
Prints the script queue in the HTML head on the front end.
|
wp-includes/script-loader.php:
script_concat_settings()
|
Determine the concatenation and compression settings for scripts and styles.
|
wp-includes/script-loader.php:
wp_default_scripts()
|
Register all WordPress scripts.
|
Example
Using did_action() function to make sure custom meta field is only added during the first run since it can run multiple times.
Expand full source codeCollapse full source code