Skip to content
linchpin edited this page Feb 22, 2023 · 10 revisions

Fields

Fields Class

  • Full name: \CourierNotices\Controller\Admin\Fields\Fields

Properties

type_list_table

Instance of Type_List_Table

private static \CourierNotices\Helper\Type_List_Table $type_list_table
  • This property is static.

Methods

add_textfield

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.

add_select

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.

add_checkbox

Create a checkbox field

public static add_checkbox(array $args): mixed
  • This method is static.

Parameters:

Parameter Type Description
$args array Customizations.

add_table

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 from source code comments on 2023-02-22 using phpDocumentor and saggre/phpdocumentor-markdown