array( 'type' => 'string' ), ); } protected function annotations(): array { return array( 'readonly' => false, 'destructive' => false, 'idempotent' => true, ); } protected function run( array $input ) { $purged = Purge_Repository::purge( 'css-js' ); if ( is_wp_error( $purged ) ) { return $purged; } return array( 'target' => 'css-js', 'message' => __( 'Generated CSS and JS purged. They rebuild on the next visit to each page.', 'acrossai-abilities-manager' ), ); } }