1 | <?php |
||
23 | final class Pre_35 { |
||
24 | |||
25 | /** |
||
26 | * The single instance of the class |
||
27 | * |
||
28 | * @var object |
||
29 | * @since 3.0.0 |
||
30 | */ |
||
31 | protected static $_instance = null; |
||
32 | |||
33 | /** |
||
34 | * Return the single class instance |
||
35 | * |
||
36 | * @return object |
||
37 | * @since 3.0.0 |
||
38 | */ |
||
39 | public static function instance() { |
||
45 | |||
46 | /** |
||
47 | * Class constructor |
||
48 | * |
||
49 | * @uses add_action() |
||
50 | * |
||
51 | * @since 3.0.0 |
||
52 | */ |
||
53 | protected function __construct() { |
||
56 | |||
57 | /** |
||
58 | * Prevent the class from being cloned |
||
59 | * |
||
60 | * @return void |
||
61 | * @since 3.0.0 |
||
62 | */ |
||
63 | protected function __clone() { |
||
66 | |||
67 | /** |
||
68 | * Admin init |
||
69 | * |
||
70 | * @uses add_filter() |
||
71 | * |
||
72 | * @return void |
||
73 | * @since 3.0.0 |
||
74 | */ |
||
75 | public function admin_init() { |
||
80 | |||
81 | /** |
||
82 | * Enable full media options in upload dialog |
||
83 | * (this is done excluding post_id parameter in Thickbox iframe url) |
||
84 | * |
||
85 | * @global string $pagenow |
||
86 | * @param string $upload_iframe_src Source of the iframe for the upload dialog. |
||
87 | * @return string |
||
88 | * @since 3.0.0 |
||
89 | */ |
||
90 | public function upload_iframe_src( $upload_iframe_src ) { |
||
98 | |||
99 | } // END class |
||
100 | |||
102 |