mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-23 12:23:54 +02:00
793797ae71
as per GaryJones notes, "You can't have tags come before the short / long description, otherwise the descriptions end up as part of a multiline tag." removing these @TODO's until the team decides whether or not to replace them with something clearer, or to discuss it to the documentation
51 lines
1.2 KiB
PHP
51 lines
1.2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Define a short description for what this class does.
|
|
*
|
|
* @since x.x.x
|
|
* @package TODO
|
|
*/
|
|
|
|
/**
|
|
* Define a short description for what this class does.
|
|
*
|
|
* Define a longer description for the purpose of this class.
|
|
*
|
|
* @package TODO
|
|
* @author Your Name <your@email.com>
|
|
* @license GPL-2.0+
|
|
* @link URL
|
|
* @copyright 2014 Your Name of Your Company Name
|
|
*/
|
|
class Plugin_Name_Public {
|
|
|
|
/**
|
|
* Short description. (use period)
|
|
*
|
|
* Long description.
|
|
*
|
|
* @since 1.0.0
|
|
* @link URL
|
|
* @param string $content The content for the post type that's being filtered.
|
|
* @return string The modified version of the post content.
|
|
*/
|
|
public function display_the_content( $content ) {
|
|
|
|
/**
|
|
* This function is provided for demonstration purposes only.
|
|
*
|
|
* An instance of this class should be passed to the run() function
|
|
* defined in Plugin_Name_Public_Loader as all of the hooks are defined
|
|
* in that particular class.
|
|
*
|
|
* The Plugin_Name_Public_Loader will then create the relationship
|
|
* between the defined hooks and the functions defined in this
|
|
* class.
|
|
*/
|
|
|
|
return $content;
|
|
|
|
}
|
|
|
|
}
|