-
Notifications
You must be signed in to change notification settings - Fork 0
Fields
github-actions[bot] edited this page Aug 26, 2024
·
12 revisions
Fields Class
- Full name:
\CourierNotices\Controller\Admin\Fields\Fields
Instance of Type_List_Table
private static \CourierNotices\Helper\Type_List_Table $type_list_table
- This property is static.
Build out our settings fields as needed
public static add_textfield(object $args): mixed
Echos our field html
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$args |
object | An Object of our field customizations. |
Used any time we need to add in a select field
public static add_select(array $args): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$args |
array | Args for Customization. |
Create a checkbox field
public static add_checkbox(array $args): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$args |
array | Customizations. |
Add a custom table to display options
public static add_table(array $args): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$args |
array | Array of arguments. |
Automatically generated on 2024-08-26