1 | <?php |
||
22 | class ALNP_Poseidon { |
||
23 | |||
24 | /** |
||
25 | * Initlize Theme. |
||
26 | * |
||
27 | * @access public |
||
28 | * @static |
||
29 | */ |
||
30 | public static function init() { |
||
40 | |||
41 | /** |
||
42 | * Display the post thumbnail before the content if the |
||
43 | * theme is set to display them only in the header. |
||
44 | * |
||
45 | * @access public |
||
46 | * @static |
||
47 | */ |
||
48 | public static function the_post_thumbnail() { |
||
53 | |||
54 | /** |
||
55 | * Filters the template location for get_template_part(). |
||
56 | * |
||
57 | * @access public |
||
58 | * @static |
||
59 | */ |
||
60 | public static function alnp_poseidon_template_location() { |
||
63 | |||
64 | /** |
||
65 | * Add theme support by providing the theme selectors |
||
66 | * to be applied once the theme is activated. |
||
67 | * |
||
68 | * @access public |
||
69 | * @static |
||
70 | */ |
||
71 | public static function add_theme_support() { |
||
81 | |||
82 | } // END class |
||
83 | |||
85 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.