# datafeedr-api/1.0.124/Wuwei/Framework/Shortcode/Shortcode_Interface.php

Datafeedr API, version 1.0.124. 30 lines.

- Page: https://pluginprobe.com/plugins/datafeedr-api/1.0.124/code/Wuwei/Framework/Shortcode/Shortcode_Interface.php
- Raw: https://pluginprobe.com/plugins/datafeedr-api/1.0.124/raw/Wuwei/Framework/Shortcode/Shortcode_Interface.php
- Modified: 2018-02-08T16:35:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/datafeedr-api/1.0.124/code/Wuwei/Framework/Shortcode/Shortcode_Interface.php#L10-L20`.

```php
<?php namespace Datafeedr\Api\Wuwei\Shortcode;

/**
 * Interface Contract
 *
 * A shortcode represents the shortcode registered with the WordPress shortcode API.
 *
 * @link https://github.com/postmatic/elevated-comments (copyright)
 *
 * @author Carl Alexander <carlalexander@helthe.co>
 */
interface Shortcode_Interface {

	/**
	 * Get the tag name used by the shortcode.
	 *
	 * @return string
	 */
	public static function get_name();

	/**
	 * Generate the output of the shortcode.
	 *
	 * @param array $attrs
	 * @param string $content
	 *
	 * @return string
	 */
	public function generate_output( $attrs, $content = '' );
}
```
