'summarization', 'label' => __( 'Content Summarization', 'ai' ), 'description' => __( 'Summarizes long-form content into digestible overviews', 'ai' ), ); } /** * {@inheritDoc} * * @since 0.2.0 */ public function register(): void { add_action( 'wp_abilities_api_init', array( $this, 'register_abilities' ) ); } /** * Registers any needed abilities. * * @since 0.2.0 */ public function register_abilities(): void { wp_register_ability( 'ai/' . $this->get_id(), array( 'label' => $this->get_label(), 'description' => $this->get_description(), 'ability_class' => Summarization_Ability::class, ), ); } }