Property | Type | Description | |
---|---|---|---|
$option_metabox | array | Array of metaboxes/fields | |
$options_page | string | Options Page hook | |
$title | string | Options Page title |
Method | Description | |
---|---|---|
__construct ( ) | Give_Plugin_Settings constructor. | |
__get ( string $field ) : mixed | Public getter method for retrieving protected/private variables | |
admin_page_display ( ) | Admin page markup. Mostly handled by CMB2 | |
give_get_settings_tabs ( ) : array | Retrieve settings tabs | |
give_modify_cmb2_form_output ( $form_format, $object_id, $cmb ) : string | Modify CMB2 Default Form Output | |
give_settings ( $active_tab ) : array | Define General Settings Metabox and field configurations. | |
give_update_cmb_meta_box_url ( $url ) : mixed | Filter CMB2 URL | |
init ( ) | Register our setting to WP | |
settings_notices ( ) | Show Settings Notices |
public admin_page_display ( ) |
public give_get_settings_tabs ( ) : array | ||
return | array | $tabs |
public give_modify_cmb2_form_output ( $form_format, $object_id, $cmb ) : string | ||
$form_format | ||
$object_id | ||
$cmb | ||
return | string |
public give_settings ( $active_tab ) : array | ||
$active_tab | |string active tab settings; null returns full array | |
return | array |
public give_update_cmb_meta_box_url ( $url ) : mixed | ||
$url | ||
return | mixed |
protected array $option_metabox | ||
return | array |