[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-includes/blocks/ -> shortcode.php (summary)

Server-side rendering of the `core/shortcode` block.

File Size: 37 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  render_block_core_shortcode()
  register_block_core_shortcode()

Functions
Functions that are not part of a class:

render_block_core_shortcode( $attributes, $content )   X-Ref
Performs wpautop() on the shortcode block content.

return: string Returns the block content.
param: array  $attributes The block attributes.
param: string $content    The block content.

register_block_core_shortcode()   X-Ref
Registers the `core/shortcode` block on server.




Generated: Mon Sep 23 08:20:02 2019 Cross-referenced by PHPXref 0.7