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