diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2020-01-06 14:32:30 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2020-01-06 14:32:30 -0500 |
commit | 10ef81bf85ad0a4bad0d204838e14c99ca2526f7 (patch) | |
tree | b4bb36a326d41de12d1a6181d2a2baf34696ac24 /plugins/jetpack/wp-cli-templates/block-register-php.mustache | |
parent | Updating script for Update (diff) | |
download | blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.gz blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.bz2 blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.zip |
Update jetpack 8.0
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'plugins/jetpack/wp-cli-templates/block-register-php.mustache')
-rw-r--r-- | plugins/jetpack/wp-cli-templates/block-register-php.mustache | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/jetpack/wp-cli-templates/block-register-php.mustache b/plugins/jetpack/wp-cli-templates/block-register-php.mustache deleted file mode 100644 index 02cbf7da..00000000 --- a/plugins/jetpack/wp-cli-templates/block-register-php.mustache +++ /dev/null @@ -1,26 +0,0 @@ -<?php -/** - * {{ title }} Block. - * - * @since 7.x - * - * @package Jetpack - */ - -jetpack_register_block( - 'jetpack/{{ slug }}', - array( 'render_callback' => 'jetpack_{{ underscoredSlug }}_block_load_assets' ) -); - -/** - * {{ title }} block registration/dependency declaration. - * - * @param array $attr Array containing the {{ title }} block attributes. - * @param string $content String containing the {{ title }} block content. - * - * @return string - */ -function jetpack_{{ underscoredSlug }}_block_load_assets( $attr, $content ) { - Jetpack_Gutenberg::load_assets_as_required( '{{ slug }}' ); - return $content; -} |