Calendar custom field
-
Hello,
Is it possible to overload this file?
‘class-wp-job-manager-post-types.php’Let me explain, I wanted to create an additional field of the same type as the ‘_job_expires’ field
I managed to create a text field via the code below
add_filter( 'job_manager_job_listing_data_fields', 'admin_add_relance_field' ); function admin_add_relance_field( $fields ) { $fields['_relance'] = array( 'label' => __( 'Date de relance', 'job_manager' ), 'type' => 'text', 'placeholder' => '00/00/0000', 'required' => false, 'description' => '', 'priority' => 13, ); return $fields; }
unfortunately I would like to have a calendar in the same way as ‘_job_expires’
So I hack something (French expression) in the file ‘class-wp-job-manager-post-types.php’ but I would like the overloaded so that it is not deleted during a possible update.If someone has another solution or another idea, I take it.
thank you in advance
cordially
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Calendar custom field’ is closed to new replies.