PluginProbe
Datafeedr API / 1.1.2
Datafeedr API v1.1.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 / Wuwei / Framework / Shortcode / Shortcode_Interface.php

Shortcode_Interface.php in Datafeedr API 1.1.2, at Wuwei/Framework/Shortcode/Shortcode_Interface.php

30 lines 629 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php namespace Datafeedr\Api\Wuwei\Shortcode;
2
3 /**
4 * Interface Contract
5 *
6 * A shortcode represents the shortcode registered with the WordPress shortcode API.
7 *
8 * @link https://github.com/postmatic/elevated-comments (copyright)
9 *
10 * @author Carl Alexander <carlalexander@helthe.co>
11 */
12 interface Shortcode_Interface {
13
14 /**
15 * Get the tag name used by the shortcode.
16 *
17 * @return string
18 */
19 public static function get_name();
20
21 /**
22 * Generate the output of the shortcode.
23 *
24 * @param array $attrs
25 * @param string $content
26 *
27 * @return string
28 */
29 public function generate_output( $attrs, $content = '' );
30 }