wp_enqueue_block_style()wp-includes/script-loader.php |
Enqueues a stylesheet for a specific block.
|
get_default_block_editor_settings()wp-includes/block-editor.php |
Returns the default block editor settings.
|
register_block_style_handle()wp-includes/blocks.php |
Finds a style handle for the block metadata field. It detects when a path to file was provided and registers the style under automatically generated handle name. It returns unprocessed style handle otherwise.
|
WP_Sitemaps_Stylesheet::get_stylesheet_css()wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php |
Gets the CSS to be included in sitemap XSL stylesheets.
|
_wp_die_process_input()wp-includes/functions.php |
Processes arguments passed to wp_die() consistently for its handlers.
|
_WP_Editors::print_default_editor_scripts()wp-includes/class-wp-editor.php |
Print (output) all editor scripts and default settings.
|
get_language_attributes()wp-includes/general-template.php |
Gets the language attributes for the ‘html’ tag.
|
login_header()wp-login.php |
Outputs the login page header.
|
display_header()wp-admin/install.php |
Display installation header.
|
iframe_header()wp-admin/includes/template.php |
Generic Iframe header for use with Thickbox.
|
wp_iframe()wp-admin/includes/media.php |
Outputs the iframe to display the media upload page.
|
add_editor_style()wp-includes/theme.php |
Adds callback for custom TinyMCE editor stylesheets.
|
register_admin_color_schemes()wp-includes/general-template.php |
Registers the default admin color schemes.
|
wp_admin_css()wp-includes/general-template.php |
Enqueues or directly prints a stylesheet link to the specified CSS file.
|
get_bloginfo()wp-includes/general-template.php |
Retrieves information about the current site.
|
_mce_set_direction()wp-includes/functions.php |
Sets the localized direction for MCE plugin.
|
get_body_class()wp-includes/post-template.php |
Retrieves an array of the class names for the body element.
|
gallery_shortcode()wp-includes/media.php |
Builds the Gallery shortcode output.
|
wp_default_styles()wp-includes/script-loader.php |
Assigns default styles to $styles object.
|
_WP_Editors::wp_mce_translation()wp-includes/class-wp-editor.php |
Translates the default TinyMCE strings and returns them as JSON encoded object ready to be loaded with tinymce.addI18n(), or as JS snippet that should run after tinymce.js is loaded.
|
Skip to note 2 content
Codex
Basic Example
if ( is_rtl() ) { wp_enqueue_style( 'style-rtl', plugins_url( '/css/style-rtl.css', __FILE__ ) ); wp_enqueue_script( 'script-rtl', plugins_url( '/js/script-rtl.js', __FILE__ ) ); }