PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.5
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / deprecated / src / integrations / admin / indexation-integration.php

indexation-integration.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.5, at src/deprecated/src/integrations/admin/indexation-integration.php

171 lines 4.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Yoast\WP\SEO\Integrations\Admin;
4
5 use WPSEO_Admin_Asset_Manager;
6 use Yoast\WP\SEO\Actions\Indexing\Indexable_General_Indexation_Action;
7 use Yoast\WP\SEO\Actions\Indexing\Indexable_Indexing_Complete_Action;
8 use Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Indexation_Action;
9 use Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Type_Archive_Indexation_Action;
10 use Yoast\WP\SEO\Actions\Indexing\Indexable_Term_Indexation_Action;
11 use Yoast\WP\SEO\Conditionals\Admin_Conditional;
12 use Yoast\WP\SEO\Conditionals\Migrations_Conditional;
13 use Yoast\WP\SEO\Conditionals\Yoast_Admin_And_Dashboard_Conditional;
14 use Yoast\WP\SEO\Conditionals\Yoast_Tools_Page_Conditional;
15 use Yoast\WP\SEO\Helpers\Indexable_Helper;
16 use Yoast\WP\SEO\Helpers\Options_Helper;
17 use Yoast\WP\SEO\Integrations\Integration_Interface;
18
19 /**
20 * Indexation_Integration class.
21 *
22 * @deprecated 15.1
23 * @codeCoverageIgnore
24 */
25 class Indexation_Integration implements Integration_Interface {
26
27 /**
28 * Returns the conditionals based in which this loadable should be active.
29 *
30 * @deprecated 15.1
31 * @codeCoverageIgnore
32 *
33 * @return array
34 */
35 public static function get_conditionals() {
36 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
37
38 return [
39 Admin_Conditional::class,
40 Yoast_Admin_And_Dashboard_Conditional::class,
41 Migrations_Conditional::class,
42 ];
43 }
44
45 /**
46 * Indexation_Integration constructor.
47 *
48 * @deprecated 15.1
49 * @codeCoverageIgnore
50 *
51 * @param Indexable_Post_Indexation_Action $post_indexation The post indexation action.
52 * @param Indexable_Term_Indexation_Action $term_indexation The term indexation action.
53 * @param Indexable_Post_Type_Archive_Indexation_Action $post_type_archive_indexation The archive indexation action.
54 * @param Indexable_General_Indexation_Action $general_indexation The general indexation action.
55 * @param Indexable_Indexing_Complete_Action $complete_indexation_action The complete indexation action.
56 * @param Options_Helper $options_helper The options helper.
57 * @param WPSEO_Admin_Asset_Manager $asset_manager The admin asset manager.
58 * @param Yoast_Tools_Page_Conditional $yoast_tools_page_conditional The Yoast tools page conditional.
59 * @param Indexable_Helper $indexable_helper The indexable helper.
60 */
61 public function __construct(
62 Indexable_Post_Indexation_Action $post_indexation,
63 Indexable_Term_Indexation_Action $term_indexation,
64 Indexable_Post_Type_Archive_Indexation_Action $post_type_archive_indexation,
65 Indexable_General_Indexation_Action $general_indexation,
66 Indexable_Indexing_Complete_Action $complete_indexation_action,
67 Options_Helper $options_helper,
68 WPSEO_Admin_Asset_Manager $asset_manager,
69 Yoast_Tools_Page_Conditional $yoast_tools_page_conditional,
70 Indexable_Helper $indexable_helper
71 ) {
72 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
73 }
74
75 /**
76 * Initializes the integration.
77 *
78 * @deprecated 15.1
79 * @codeCoverageIgnore
80 */
81 public function register_hooks() {
82 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
83 }
84
85 /**
86 * Enqueues the required scripts.
87 *
88 * @deprecated 15.1
89 * @codeCoverageIgnore
90 *
91 * @return void
92 */
93 public function enqueue_scripts() {
94 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
95 }
96
97 /**
98 * Renders the indexation warning.
99 *
100 * @deprecated 15.1
101 * @codeCoverageIgnore
102 *
103 * @return void
104 */
105 public function render_indexation_warning() {
106 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
107 }
108
109 /**
110 * Renders the indexation modal.
111 *
112 * @deprecated 15.1
113 * @codeCoverageIgnore
114 *
115 * @return void
116 */
117 public function render_indexation_modal() {
118 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
119 }
120
121 /**
122 * Renders the indexation list item.
123 *
124 * @deprecated 15.1
125 * @codeCoverageIgnore
126 *
127 * @return void
128 */
129 public function render_indexation_list_item() {
130 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
131 }
132
133 /**
134 * Renders the indexation permalink warning.
135 *
136 * @deprecated 15.1
137 * @codeCoverageIgnore
138 *
139 * @return void
140 */
141 public function render_indexation_permalink_warning() {
142 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
143 }
144
145 /**
146 * Runs a single indexation pass of each indexation action. Intended for use as a shutdown function.
147 *
148 * @deprecated 15.1
149 * @codeCoverageIgnore
150 *
151 * @return void
152 */
153 public function shutdown_indexation() {
154 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
155 }
156
157 /**
158 * Returns the total number of unindexed objects.
159 *
160 * @deprecated 15.1
161 * @codeCoverageIgnore
162 *
163 * @return int The total number of unindexed objects.
164 */
165 public function get_total_unindexed() {
166 \_deprecated_function( __METHOD__, 'WPSEO 15.1' );
167
168 return 0;
169 }
170 }
171