PATH:
home
/
letacommog
/
gdiags.fr
/
wp-includes
/
blocks
<?php /** * Server-side rendering of the `core/shortcode` block. * * @package WordPress */ /** * Performs wpautop() on the shortcode block content. * * @param array $attributes The block attributes. * @param string $content The block content. * * @return string Returns the block content. */ function render_block_core_shortcode( $attributes, $content ) { return wpautop( $content ); } /** * Registers the `core/shortcode` block on server. */ function register_block_core_shortcode() { register_block_type_from_metadata( __DIR__ . '/shortcode', array( 'render_callback' => 'render_block_core_shortcode', ) ); } add_action( 'init', 'register_block_core_shortcode' );
[+]
..
[+]
quote
[+]
calendar
[+]
heading
[+]
social-link
[+]
verse
[+]
spacer
[+]
gallery
[+]
html
[+]
paragraph
[-] rss.php
[edit]
[+]
table
[+]
audio
[+]
code
[+]
archives
[+]
media-text
[+]
latest-posts
[+]
nextpage
[-] block.php
[edit]
[+]
tag-cloud
[+]
classic
[+]
columns
[+]
buttons
[+]
group
[+]
preformatted
[-] social-link.php
[edit]
[+]
rss
[+]
image
[-] latest-posts.php
[edit]
[-] archives.php
[edit]
[-] shortcode.php
[edit]
[+]
embed
[+]
button
[-] latest-comments.php
[edit]
[+]
freeform
[+]
video
[+]
block
[+]
column
[+]
missing
[+]
shortcode
[-] tag-cloud.php
[edit]
[+]
subhead
[+]
separator
[-] index.php
[edit]
[-] categories.php
[edit]
[+]
pullquote
[-] search.php
[edit]
[+]
latest-comments
[+]
list
[+]
more
[+]
text-columns
[+]
file
[+]
search
[-] calendar.php
[edit]
[+]
social-links
[+]
categories