LLMS_Rest_Admin_Settings_Page::get_table_classes( string[] $classes, string $id )
Add CSS classes to the API Keys Table.
Parameters Parameters
- $classes
-
(string[]) (Required) Array of css class names.
- $id
-
(string) (Required) Table ID.
Return Return
(string[])
Source Source
File: libraries/lifterlms-rest/includes/admin/class-llms-rest-admin-settings-page.php
public function get_table_classes( $classes, $id ) { if ( in_array( $id, array( 'rest-api-keys', 'rest-webhooks' ), true ) ) { $classes[] = 'text-left'; } return $classes; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |