__( 'Templately', 'templately' ), 'description' => __( 'Search, preview, and import Templately designs on this WordPress site.', 'templately' ), ] ); } /** * One ability per registry descriptor — no hand-maintained list (FR-011). * test-RegistryAbilitiesParity.php asserts this set equals the registry's. */ public static function register_abilities(): void { if ( ! function_exists( 'wp_register_ability' ) ) { return; } foreach ( ToolRegistry::get_instance()->all() as $descriptor ) { wp_register_ability( $descriptor->id, $descriptor->to_ability_args() ); } } }