PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.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
← All changes | src/wordpress/wrapper.php +10 -0 18.328.5 View file →
@@ -6,8 +6,9 @@
6 6 use WPSEO_Addon_Manager;
7 7 use WPSEO_Admin_Asset_Manager;
8 8 use WPSEO_Replace_Vars;
9 9 use WPSEO_Shortlinker;
10 +use WPSEO_Utils;
10 11
11 12 /**
12 13 * Wrapper class for WordPress globals.
13 14 *
@@ -59,6 +60,15 @@
59 60 * @return WPSEO_Shortlinker
60 61 */
61 62 public static function get_shortlinker() {
62 63 return new WPSEO_Shortlinker();
64 + }
65 +
66 + /**
67 + * Factory function for the utils class.
68 + *
69 + * @return WPSEO_Utils
70 + */
71 + public static function get_utils() {
72 + return new WPSEO_Utils();
63 73 }
64 74 }