PluginProbe
Datafeedr API / 1.2.2
Datafeedr API v1.2.2
1.4.2 1.0.125 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 1.0.23 1.0.24 1.0.25 1.0.26 1.0.27 1.0.28 1.0.29 1.0.3 1.0.30 1.0.31 1.0.32 1.0.33 All 181 releases
datafeedr-api / src / Shortcodes / TestShortcodeMsg.php

TestShortcodeMsg.php in Datafeedr API 1.2.2, at src/Shortcodes/TestShortcodeMsg.php

27 lines 492 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php namespace Datafeedr\Api\Shortcodes;
2
3 use Datafeedr\Api\Wuwei\Shortcode\Shortcode_Interface;
4
5 /**
6 * Class TestShortcodeMsg
7 *
8 * Add a test Shortcode.
9 *
10 * @since 2.0.0
11 */
12 class TestShortcodeMsg implements Shortcode_Interface {
13
14 /**
15 * {@inheritdoc}
16 */
17 public static function get_name() {
18 return 'datafeedr-test-shortcode';
19 }
20
21 /**
22 * {@inheritdoc}
23 */
24 public function generate_output( $attrs, $content = '' ) {
25 return '<strong>Our shortcodes are working.</strong>';
26 }
27 }