Completed
Branch BUG-10381-asset-loading (0f96c1)
by
unknown
60:43 queued 48:13
created

EspressoThankYou::initializeShortcode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
namespace EventEspresso\core\domain\entities\shortcodes;
3
4
use EventEspresso\core\services\shortcodes\EspressoShortcode;
5
6
defined('EVENT_ESPRESSO_VERSION') || exit;
7
8
9
10
/**
11
 * Class EspressoThankYou
12
 * ESPRESSO_THANK_YOU shortcode
13
 *
14
 * @package       Event Espresso
15
 * @author        Brent Christensen
16
 * @since         $VID:$
17
 */
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()
29
    {
30
        return 'ESPRESSO_THANK_YOU';
31
    }
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()
43
    {
44
        // TODO: Implement initializeShortcode() method.
45
    }
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())
58
    {
59
        // TODO: Implement processShortcode() method.
60
    }
61
}
62
// End of file EspressoThankYou.php
63
// Location: EventEspresso\core\domain\entities\shortcodes/EspressoThankYou.php