`X}ޓOP8X@aX>_V8X@(X)bUC`SXaXI#i־<8XbX䗤Ģ @X cXgIl8XcXP HX`dXT\4HXeXp09XeX<@nI5 X@fXCyjtXfXj:BuXgXQiS`X hX־xXuX8 (@xXuXXiG X@vXh|yt`;XvX`v6|xXwX4lSz;X xXrgP XxXS]"yX*Xs3) X`yXIS0@yXzXp۷B:XyXzX9̚yX@{XxJt*`X{Xz߳_zX|XQ}׏J@zX }XA;X}X7*<X`~X q ړ@<XXr CzXX^uj{XX_WpmOx<X@Xwe"$`XXW/P#k{XX|.[j<X X*6<XX(oXX[țX`XƋ XX;ky !XX+`0"X@XbI|X@+X- #XX\$=XX c]2!PX X7Z58X X=Ɗ:X@ Xu#ѹX XU%X X͜ǙEGA@X XJMQpX XX b?X`Xi^C`P?XXZS]r?X XV0ڸSXXa@T5P:XX?۠:X5X|/IlѧX@6XQǒX6X,XXD;.?@Xn clear_schedule_lists_update() { wp_clear_scheduled_hook( 'rocket_update_dynamic_lists' ); } /** * Displays the dynamic lists update section on tools tab * * @return void */ public function display_update_lists_section() { if ( ! current_user_can( 'rocket_manage_options' ) ) { return; } $data = [ 'beacon' => $this->beacon->get_suggest( 'dynamic_lists' ), ]; echo $this->generate( 'settings/dynamic-lists-update', $data ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /** * Get the cached ignored parameters * * @return array */ public function get_cache_ignored_parameters(): array { $lists = $this->providers['defaultlists']->data_manager->get_lists(); return isset( $lists->cache_ignored_parameters ) ? array_flip( $lists->cache_ignored_parameters ) : []; } /** * Get the JS minify excluded external paths * * @return array */ public function get_js_minify_excluded_external(): array { $lists = $this->providers['defaultlists']->data_manager->get_lists(); return isset( $lists->js_minify_external ) ? $lists->js_minify_external : []; } /** * Get the patterns to move after the combine JS file * * @return array */ public function get_js_move_after_combine(): array { $lists = $this->providers['defaultlists']->data_manager->get_lists(); return isset( $lists->js_move_after_combine ) ? $lists->js_move_after_combine : []; } /** * Get the inline JS excluded from combine JS * * @return array */ public function get_combine_js_excluded_inline(): array { $lists = $this->providers['defaultlists']->data_manager->get_lists(); return isset( $lists->js_excluded_inline ) ? $lists->js_excluded_inline : []; } /** * Get the preload exclusions * * @return array */ public function get_preload_exclusions(): array { $lists = $this->providers['defaultlists']->data_manager->get_lists(); return isset( $lists->preload_exclusions ) ? $lists->preload_exclusions : []; } /** * Get Delay JS dynamic list. * * @return array */ public function get_delayjs_list() { return $this->providers['delayjslists']->data_manager->get_lists(); } /** * Get the JS minify excluded files * * @return array */ public function get_js_exclude_files(): array { $lists = $this->providers['defaultlists']->data_manager->get_lists(); return isset( $lists->exclude_js_files ) ? $lists->exclude_js_files : []; } /** * Get the incompatible plugins list * * @return array */ public function get_incompatible_plugins() { $lists = $this->providers['incompatible_plugins']->data_manager->get_plugins_list(); return isset( $lists ) ? $lists : []; } /** * Get the staging list * * @return array */ public function get_stagings(): array { $lists = $this->providers['defaultlists']->data_manager->get_lists(); return isset( $lists->staging_domains ) ? $lists->staging_domains : []; } }