1 | <?php |
||
18 | class EspressoThankYou extends EspressoShortcode |
||
19 | { |
||
20 | |||
21 | |||
22 | |||
23 | /** |
||
24 | * the actual shortcode tag that gets registered with WordPress |
||
25 | * |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getTag() |
||
32 | |||
33 | |||
34 | |||
35 | /** |
||
36 | * a place for adding any initialization code that needs to run prior to wp_header(). |
||
37 | * this may be required for shortcodes that utilize a corresponding module, |
||
38 | * and need to enqueue assets for that module |
||
39 | * |
||
40 | * @return void |
||
41 | */ |
||
42 | public function initializeShortcode() |
||
46 | |||
47 | |||
48 | |||
49 | /** |
||
50 | * callback that runs when the shortcode is encountered in post content. |
||
51 | * IMPORTANT !!! |
||
52 | * remember that shortcode content should be RETURNED and NOT echoed out |
||
53 | * |
||
54 | * @param array $attributes |
||
55 | * @return string |
||
56 | */ |
||
57 | public function processShortcode($attributes = array()) |
||
61 | } |
||
62 | // End of file EspressoThankYou.php |
||
63 | // Location: EventEspresso\core\domain\entities\shortcodes/EspressoThankYou.php |