Property | Type | Description | |
---|---|---|---|
$ordered_terms | The taxonomy terms ordered hierarchically. | ||
$terms | The taxonomy terms. |
Method | Description | |
---|---|---|
__construct ( $field_id, $field ) | ||
add_select2_class ( array $classes, array $field ) : array | Add the select2 class to the input | |
display ( ) : string | Return the field markup for the front-end. | |
display_admin ( ) | Return the field markup for the admin. | |
display_no_edit ( ) | Return the field markup for the admin. | |
update ( integer $value, integer $post_id ) : integer | Save function. |
public display_admin ( ) |
public display_no_edit ( ) |
protected $ordered_terms |