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.


Top ↑

Return Return

(string[])


Top ↑

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;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.