get_ability_name(), $this->get_config() ); } // phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.Found -- Base class default, subclasses use $input. /** * Permission callback for any ability that uses this trait. * * @param array|null $input The input parameters (unused). * @return bool Whether the current user can use this ability. */ public function current_user_has_permission( ?array $input = null ): bool { // phpcs:enable Generic.CodeAnalysis.UnusedFunctionParameter.Found return current_user_can( 'moderate_comments' ); } }