Closed sebastienserre closed 3 years ago
The options set in wpfepfields$tab_id filter are not took in consideration. Now they are.
In
public function add_project_field( $fields ) { $fields[] = array( 'id' => 'testing_field', 'label' => 'Testing', 'desc' => 'Just testing.', 'type' => 'checkbox', 'options' => array( array( 'value' => 'value1', 'name' => 'Name 1' ), array( 'value' => 'value2', 'name' => 'Name 2' ), ), 'classes' => 'testing', ); return $fields; }
the checkbox generated didnot use:
'options' => array( array( 'value' => 'value1', 'name' => 'Name 1' ), array( 'value' => 'value2', 'name' => 'Name 2' ), ),
The options set in wpfepfields$tab_id filter are not took in consideration. Now they are.
In
the checkbox generated didnot use: