PluginProbe
Getwid – Gutenberg Blocks / 3.0.2
Getwid – Gutenberg Blocks v3.0.2
3.0.2 3.0.1 3.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 trunk 1.8.7 1.9.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
← All changes | includes/block-actions.php +15 -15 2.0.83.0.2 View file →
@@ -1,15 +1,15 @@
1 -<?php
2 -
3 -if ( ! function_exists( 'getwid_blocks_no_items_found' ) ) :
4 - /*
5 - * Displays message when there are no posts to display
6 - */
7 - function getwid_blocks_no_items_found( $attributes, $content ) {
8 - ?><p><?php echo esc_html__( 'Nothing found.', 'getwid' ); ?></p><?php
9 - }
10 -endif;
11 -
12 -add_action( 'getwid/blocks/post-slider/no-items', 'getwid_blocks_no_items_found', 10, 2 );
13 -add_action( 'getwid/blocks/custom-post-type/no-items', 'getwid_blocks_no_items_found', 10, 2 );
14 -add_action( 'getwid/blocks/post-carousel/no-items', 'getwid_blocks_no_items_found', 10, 2 );
15 -add_action( 'getwid/blocks/recent-posts/no-items', 'getwid_blocks_no_items_found', 10, 2 );
1 +<?php
2 +
3 +if ( ! function_exists( 'getwid_blocks_no_items_found' ) ) :
4 + /*
5 + * Displays message when there are no posts to display
6 + */
7 + function getwid_blocks_no_items_found( $attributes, $content ) {
8 + ?><p><?php echo esc_html__( 'Nothing found.', 'getwid' ); ?></p><?php
9 + }
10 +endif;
11 +
12 +add_action( 'getwid/blocks/post-slider/no-items', 'getwid_blocks_no_items_found', 10, 2 );
13 +add_action( 'getwid/blocks/custom-post-type/no-items', 'getwid_blocks_no_items_found', 10, 2 );
14 +add_action( 'getwid/blocks/post-carousel/no-items', 'getwid_blocks_no_items_found', 10, 2 );
15 +add_action( 'getwid/blocks/recent-posts/no-items', 'getwid_blocks_no_items_found', 10, 2 );