• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / twentyfifteen_block_editor_styles() – Enqueue styles for the block-based editor.

You appear to be a bot. Output may be restricted

Description

Enqueue styles for the block-based editor.

Usage

twentyfifteen_block_editor_styles();

Parameters

Returns

void

Source

File name: twentyfifteen/functions.php


Lines:

1 to 7 of 7
function twentyfifteen_block_editor_styles() {
  // Block styles.
  wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20220908' );
  // Add custom fonts.
  wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null );
}
 

 View on Trac

Published: 19th December 2019 | Last updated: 2nd November 2022

Primary Sidebar

Information

Function name: twentyfifteen_block_editor_styles
Plugin ref: Twenty Fifteen
Version: 3.3
Sourcefile: functions.php
File ref: functions.php
Deprecated?: No
API Letters: B,E,S,T

Footer

WordPress a2z
WordPress a2z
WordPress Dynamic API Reference
WordPress 6.1.1. PHP: 8.0.28
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wp-a2z.org
© Copyright WordPress a2z 2014-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites