| @@ 29-37 (lines=9) @@ | ||
| 26 | * @since 1.5.0 | |
| 27 | * @version 1.5.5 | |
| 28 | */ | |
| 29 | 		public function __construct() { | |
| 30 | $this->id = 'misc'; | |
| 31 | $this->label = esc_html__( 'Misc', 'auto-load-next-post' ); | |
| 32 | ||
| 33 | parent::__construct(); | |
| 34 | ||
| 35 | add_filter( 'auto_load_next_post_misc_settings', array( __CLASS__, 'lock_js_in_footer' ), 0, 1 ); | |
| 36 | add_action( 'auto_load_next_post_settings_misc', array( __CLASS__, 'no_comment_selector_set' ), 0 ); | |
| 37 | } // END __construct() | |
| 38 | ||
| 39 | /** | |
| 40 | * This notifies the user if the comment selector is NOT set. | |
| @@ 29-37 (lines=9) @@ | ||
| 26 | * @since 1.0.0 | |
| 27 | * @version 1.6.0 | |
| 28 | */ | |
| 29 | 		public function __construct() { | |
| 30 | $this->id = 'theme-selectors'; | |
| 31 | $this->label = esc_html__( 'Theme Selectors', 'auto-load-next-post' ); | |
| 32 | ||
| 33 | parent::__construct(); | |
| 34 | ||
| 35 | add_action( 'auto_load_next_post_settings_theme-selectors', array( __CLASS__, 'is_theme_supported' ), 0 ); | |
| 36 | add_action( 'auto_load_next_post_settings_theme-selectors', array( __CLASS__, 'no_theme_selectors_set' ), 0 ); | |
| 37 | } // END __construct() | |
| 38 | ||
| 39 | /** | |
| 40 | * This notifies the user if the active theme supports Auto Load Next Post. | |