| @@ -8,13 +8,18 @@ | ||
| 8 | 8 | declare(strict_types=1); |
| 9 | 9 | |
| 10 | 10 | namespace ThinkRank\Abilities; |
| 11 | 11 | |
| 12 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 13 | + exit; // Exit if accessed directly. | |
| 14 | +} | |
| 15 | + | |
| 12 | 16 | use ThinkRank\Abilities\Analysis\Get_Post_Seo_Checks; |
| 13 | 17 | use ThinkRank\Abilities\Analysis\Get_Term_Seo_Checks; |
| 14 | 18 | use ThinkRank\Abilities\Content\Get_Post_Seo; |
| 15 | 19 | use ThinkRank\Abilities\Content\Get_Term_Seo; |
| 16 | 20 | use ThinkRank\Abilities\Content\List_Content_Items; |
| 21 | +use ThinkRank\Abilities\Content\List_Snippet_Issues; | |
| 17 | 22 | use ThinkRank\Abilities\Content\List_Content_Types; |
| 18 | 23 | use ThinkRank\Abilities\Content\Update_Post_Seo; |
| 19 | 24 | use ThinkRank\Abilities\Content\Update_Term_Seo; |
| 20 | 25 | use ThinkRank\Abilities\Content\Generate_Content_Brief; |
| @@ -40,10 +45,22 @@ | ||
| 40 | 45 | use ThinkRank\Abilities\Settings\Update_Image_Seo_Settings; |
| 41 | 46 | use ThinkRank\Abilities\Settings\Get_Llms_Txt_Settings; |
| 42 | 47 | use ThinkRank\Abilities\Settings\Update_Llms_Txt_Settings; |
| 43 | 48 | use ThinkRank\Abilities\Settings\Get_Robots_Meta_Settings; |
| 49 | +use ThinkRank\Abilities\Links\Get_External_Links_Settings; | |
| 50 | +use ThinkRank\Abilities\Links\Update_External_Links_Settings; | |
| 51 | +use ThinkRank\Abilities\Matrix\Get_Content_Type_Matrix; | |
| 52 | +use ThinkRank\Abilities\Matrix\Update_Content_Type_Matrix; | |
| 53 | +use ThinkRank\Abilities\Media\List_Images; | |
| 54 | +use ThinkRank\Abilities\Media\Get_Image_Alt_Text; | |
| 55 | +use ThinkRank\Abilities\Media\Update_Image_Alt_Text; | |
| 56 | +use ThinkRank\Abilities\Media\Fill_Missing_Alt_Text; | |
| 57 | +use ThinkRank\Abilities\Content\Get_Post_Content; | |
| 58 | +use ThinkRank\Abilities\Maintenance\Purge_Caches; | |
| 44 | 59 | use ThinkRank\Abilities\Settings\Update_Robots_Meta_Settings; |
| 45 | 60 | use ThinkRank\Abilities\Settings\Get_Instant_Indexing_Settings; |
| 61 | +use ThinkRank\Abilities\Settings\Get_Ai_Budget; | |
| 62 | +use ThinkRank\Abilities\Settings\Update_Ai_Budget; | |
| 46 | 63 | use ThinkRank\Abilities\Settings\Update_Instant_Indexing_Settings; |
| 47 | 64 | use ThinkRank\Abilities\Settings\Get_Author_Archives_Settings; |
| 48 | 65 | use ThinkRank\Abilities\Settings\Update_Author_Archives_Settings; |
| 49 | 66 | use ThinkRank\Abilities\Settings\Get_Email_Report_Settings; |
| @@ -56,9 +73,8 @@ | ||
| 56 | 73 | use ThinkRank\Abilities\Analysis\Get_Llms_Txt_Status; |
| 57 | 74 | use ThinkRank\Abilities\Analysis\Generate_Llms_Txt; |
| 58 | 75 | use ThinkRank\Abilities\Analysis\Publish_Llms_Txt; |
| 59 | 76 | use ThinkRank\Abilities\Analysis\Get_Seo_Analytics_Data; |
| 60 | -use ThinkRank\Abilities\Analysis\Get_Seo_Insights; | |
| 61 | 77 | use ThinkRank\Abilities\Analysis\Get_Seo_Opportunities; |
| 62 | 78 | use ThinkRank\Abilities\Analysis\Get_Seo_Score; |
| 63 | 79 | use ThinkRank\Abilities\Analysis\Get_Seo_Analyzer; |
| 64 | 80 | use ThinkRank\Abilities\Analysis\Run_Seo_Analyzer; |
| @@ -67,12 +83,8 @@ | ||
| 67 | 83 | use ThinkRank\Abilities\Analysis\Get_Connection_Status; |
| 68 | 84 | use ThinkRank\Abilities\Analysis\Bulk_Analyze_And_Save; |
| 69 | 85 | use ThinkRank\Core\Settings; |
| 70 | 86 | |
| 71 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 72 | - exit; // Exit if accessed directly. | |
| 73 | -} | |
| 74 | - | |
| 75 | 87 | /** |
| 76 | 88 | * Registers ThinkRank abilities with the WordPress Abilities API. |
| 77 | 89 | * |
| 78 | 90 | * Abilities are **always** registered when the Abilities API is available — |
| @@ -328,8 +340,9 @@ | ||
| 328 | 340 | new Get_Global_Settings(), |
| 329 | 341 | new Update_Global_Settings(), |
| 330 | 342 | new Get_Post_Seo(), |
| 331 | 343 | new Update_Post_Seo(), |
| 344 | + new List_Snippet_Issues(), | |
| 332 | 345 | new Get_Term_Seo(), |
| 333 | 346 | new Update_Term_Seo(), |
| 334 | 347 | new Get_Post_Seo_Checks(), |
| 335 | 348 | new Get_Term_Seo_Checks(), |
| @@ -347,9 +360,21 @@ | ||
| 347 | 360 | new Update_Image_Seo_Settings(), |
| 348 | 361 | new Get_Llms_Txt_Settings(), |
| 349 | 362 | new Update_Llms_Txt_Settings(), |
| 350 | 363 | new Get_Robots_Meta_Settings(), |
| 364 | + new Get_External_Links_Settings(), | |
| 365 | + new Update_External_Links_Settings(), | |
| 366 | + new Get_Content_Type_Matrix(), | |
| 367 | + new Update_Content_Type_Matrix(), | |
| 368 | + new List_Images(), | |
| 369 | + new Get_Image_Alt_Text(), | |
| 370 | + new Update_Image_Alt_Text(), | |
| 371 | + new Fill_Missing_Alt_Text(), | |
| 372 | + new Get_Post_Content(), | |
| 373 | + new Purge_Caches(), | |
| 351 | 374 | new Update_Robots_Meta_Settings(), |
| 375 | + new Get_Ai_Budget(), | |
| 376 | + new Update_Ai_Budget(), | |
| 352 | 377 | new Get_Instant_Indexing_Settings(), |
| 353 | 378 | new Update_Instant_Indexing_Settings(), |
| 354 | 379 | new Get_Author_Archives_Settings(), |
| 355 | 380 | new Update_Author_Archives_Settings(), |
| @@ -363,9 +388,8 @@ | ||
| 363 | 388 | new Get_Llms_Txt_Status(), |
| 364 | 389 | new Generate_Llms_Txt(), |
| 365 | 390 | new Publish_Llms_Txt(), |
| 366 | 391 | new Get_Seo_Analytics_Data(), |
| 367 | - new Get_Seo_Insights(), | |
| 368 | 392 | new Get_Seo_Opportunities(), |
| 369 | 393 | new Get_Seo_Score(), |
| 370 | 394 | new Get_Seo_Analyzer(), |
| 371 | 395 | new Run_Seo_Analyzer(), |