@@ -53,9 +53,10 @@ public function init() {
53
53
*/
54
54
do_action ( 'before_classifai_init ' );
55
55
56
- // Initialize the services, each services handles the providers
56
+ // Initialize the services; each service handles their features.
57
57
$ this ->init_services ();
58
58
59
+ // TODO: is there a better place for this?
59
60
$ post_types = get_supported_post_types ();
60
61
foreach ( $ post_types as $ post_type ) {
61
62
register_meta (
@@ -69,11 +70,11 @@ public function init() {
69
70
);
70
71
}
71
72
72
- // Initialize the classifAI Onboarding.
73
+ // Initialize the ClassifAI Onboarding.
73
74
$ onboarding = new Admin \Onboarding ();
74
75
$ onboarding ->init ();
75
76
76
- // Initialize the classifAI User Profile.
77
+ // Initialize the ClassifAI User Profile.
77
78
$ user_profile = new Admin \UserProfile ();
78
79
$ user_profile ->init ();
79
80
@@ -126,7 +127,7 @@ public function init_services() {
126
127
}
127
128
128
129
/**
129
- * Initiates classes providing admin feature sfor the plugin .
130
+ * Initiates classes providing admin features .
130
131
*
131
132
* @since 1.4.0
132
133
*/
@@ -216,10 +217,9 @@ public function enqueue_admin_assets() {
216
217
* Add the action links to the plugin page.
217
218
*
218
219
* @param array $links The Action links for the plugin.
219
- *
220
220
* @return array
221
221
*/
222
- public function filter_plugin_action_links ( $ links ) {
222
+ public function filter_plugin_action_links ( $ links ): array {
223
223
224
224
if ( ! is_array ( $ links ) ) {
225
225
return $ links ;
0 commit comments