for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EventEspresso\core\domain\entities\shortcodes;
use EventEspresso\core\services\shortcodes\EspressoShortcode;
defined('EVENT_ESPRESSO_VERSION') || exit;
/**
* Class EspressoThankYou
* ESPRESSO_THANK_YOU shortcode
*
* @package Event Espresso
* @author Brent Christensen
* @since $VID:$
*/
class EspressoThankYou extends EspressoShortcode
{
* the actual shortcode tag that gets registered with WordPress
* @return string
public function getTag()
return 'ESPRESSO_THANK_YOU';
}
* a place for adding any initialization code that needs to run prior to wp_header().
* this may be required for shortcodes that utilize a corresponding module,
* and need to enqueue assets for that module
* @return void
public function initializeShortcode()
// TODO: Implement initializeShortcode() method.
* callback that runs when the shortcode is encountered in post content.
* IMPORTANT !!!
* remember that shortcode content should be RETURNED and NOT echoed out
* @param array $attributes
public function processShortcode($attributes = array())
// TODO: Implement processShortcode() method.
// End of file EspressoThankYou.php
// Location: EventEspresso\core\domain\entities\shortcodes/EspressoThankYou.php