summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2020-01-06 14:32:30 -0500
committerAnthony G. Basile <blueness@gentoo.org>2020-01-06 14:32:30 -0500
commit10ef81bf85ad0a4bad0d204838e14c99ca2526f7 (patch)
treeb4bb36a326d41de12d1a6181d2a2baf34696ac24 /plugins/jetpack/wp-cli-templates/block-register-php.mustache
parentUpdating script for Update (diff)
downloadblogs-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.mustache26
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;
-}