File tree Expand file tree Collapse file tree 3 files changed +0
-184
lines changed
Expand file tree Collapse file tree 3 files changed +0
-184
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,14 +44,6 @@ final class Optml_Manager {
4444 */
4545 public $ lazyload_replacer ;
4646
47- /**
48- * Holds the hero preloader class.
49- *
50- * @access public
51- * @since 3.9.0
52- * @var Optml_Hero_Preloader Preloader instance.
53- */
54- public $ hero_preloader ;
5547
5648 /**
5749 * Holds plugin settings.
@@ -118,7 +110,6 @@ public static function instance() {
118110 self ::$ instance ->url_replacer = Optml_Url_Replacer::instance ();
119111 self ::$ instance ->tag_replacer = Optml_Tag_Replacer::instance ();
120112 self ::$ instance ->lazyload_replacer = Optml_Lazyload_Replacer::instance ();
121- self ::$ instance ->hero_preloader = Optml_Hero_Preloader::instance ();
122113
123114 add_action ( 'after_setup_theme ' , [ self ::$ instance , 'init ' ] );
124115 add_action ( 'wp_footer ' , [ self ::$ instance , 'banner ' ] );
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ public function setUp() : void {
3131 Optml_Url_Replacer::instance ()->init ();
3232 Optml_Tag_Replacer::instance ()->init ();
3333 Optml_Lazyload_Replacer::instance ()->init ();
34- Optml_Hero_Preloader::instance ()->init ();
3534 Optml_Manager::instance ()->init ();
3635
3736 self ::$ sample_attachement = self ::factory ()->attachment ->create_upload_object ( OPTML_PATH . 'assets/img/logo.png ' );
You can’t perform that action at this time.
0 commit comments