PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
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 / unsupported-php-version-notice.php

unsupported-php-version-notice.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI trunk, at src/deprecated/src/integrations/admin/unsupported-php-version-notice.php

70 lines 1.4 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 Yoast\WP\SEO\Conditionals\Yoast_Admin_And_Dashboard_Conditional;
6 use Yoast\WP\SEO\Integrations\Integration_Interface;
7
8 /**
9 * Class Unsupported_PHP_Version_Notice.
10 *
11 * @package Yoast\WP\SEO\Integrations\Admin
12 *
13 * @deprecated 25.0
14 * @codeCoverageIgnore
15 */
16 class Unsupported_PHP_Version_Notice implements Integration_Interface {
17
18 /**
19 * Returns the conditionals based on which this integration should be active.
20 *
21 * @deprecated 25.0
22 * @codeCoverageIgnore
23 *
24 * @return array<string> The array of conditionals.
25 */
26 public static function get_conditionals() {
27 \_deprecated_function( __METHOD__, 'Yoast SEO 25.0' );
28 return [
29 Yoast_Admin_And_Dashboard_Conditional::class,
30 ];
31 }
32
33 /**
34 * Register hooks.
35 *
36 * @deprecated 25.0
37 * @codeCoverageIgnore
38 *
39 * @return void
40 */
41 public function register_hooks() {
42 \_deprecated_function( __METHOD__, 'Yoast SEO 25.0' );
43 }
44
45 /**
46 * Checks the current PHP version.
47 *
48 * @deprecated 25.0
49 * @codeCoverageIgnore
50 *
51 * @return void
52 */
53 public function check_php_version() {
54 \_deprecated_function( __METHOD__, 'Yoast SEO 25.0' );
55 }
56
57 /**
58 * Composes the body of the message to display.
59 *
60 * @deprecated 25.0
61 * @codeCoverageIgnore
62 *
63 * @return string The message to display.
64 */
65 public function body() {
66 \_deprecated_function( __METHOD__, 'Yoast SEO 25.0' );
67 return '';
68 }
69 }
70