'id' => 'tools', 'title' => __( 'Tools', 'rocket' ), 'menu_description' => __( 'Import, Export, Rollback', 'rocket' ), ]; return $navigation; } /** * Add Imagify section to navigation. * * @since 3.2 * * @param array $navigation Array of menu items. * @return array */ public function add_imagify_page( $navigation ) { if ( rocket_get_constant( 'WP_ROCKET_WHITE_LABEL_ACCOUNT' ) || Imagify_Partner::has_imagify_api_key() ) { return $navigation; } $navigation['imagify'] = [ 'id' => 'imagify', 'title' => __( 'Image Optimization', 'rocket' ), 'menu_description' => __( 'Compress your images', 'rocket' ), ]; return $navigation; } /** * Add Tutorials section to navigation. * * @since 3.4 * * @param array $navigation Array of menu items. * @return array */ public function add_tutorials_page( $navigation ) { $navigation['tutorials'] = [ 'id' => 'tutorials', 'title' => __( 'Tutorials', 'rocket' ), 'menu_description' => __( 'Getting started and how to videos', 'rocket' ), ]; return $navigation; } /** * Displays the radio option sub fields * * @since 3.10 * * @param array $option_data array of option_id and sub_fields of the option. * * @return void */ public function display_radio_options_sub_fields( $option_data ) { if ( empty( $option_data['sub_fields'] ) ) { return; } $this->page->display_radio_options_sub_fields( $option_data['sub_fields'] ); } /** * Render mobile cache option. * * @return void */ public function display_mobile_cache_option(): void { $this->page->display_mobile_cache_option(); } /** * Callback method for the AJAX request to mobile cache. * * @return void */ public function enable_mobile_cache(): void { $this->page->enable_mobile_cache(); } /** * Enable Separate cache files for mobile devices on upgrade. * * @param string $new_version New plugin version. * @param string $old_version Previous plugin version. * @return void */ public function enable_separate_cache_files_mobile( $new_version, $old_version ): void { if ( version_compare( $old_version, '3.16', '>' ) ) { return; } $this->page->enable_separate_cache_files_mobile(); } /** * Display the update notice. * * @return void */ public function display_update_notice() { $this->page->display_update_notice(); } }
Warning: Class "\WP_Rocket\Engine\Admin\Settings\Subscriber" not found in /htdocs/le-blog.fr/wp-content/plugins/wp-rocket/inc/deprecated/3.5.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /htdocs/le-blog.fr/wp-content/plugins/wp-rocket/inc/Engine/Admin/Settings/Subscriber.php:1) in /htdocs/le-blog.fr/wp-includes/pluggable.php on line 1531

Warning: Cannot modify header information - headers already sent by (output started at /htdocs/le-blog.fr/wp-content/plugins/wp-rocket/inc/Engine/Admin/Settings/Subscriber.php:1) in /htdocs/le-blog.fr/wp-includes/pluggable.php on line 1534