arthurlutte
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
to do so, you can just add this code snippet to your file functions.php
// Update existing Brevo contacts and add them to new lists via CF7.
add_filter( 'wpcf7_sendinblue_contact_parameters', function ( $params ) {
$params['updateEnabled'] = true;
return $params;
}, 10, 1 );Hi WPDreams, thanks a lot. It worked very well !!
Best,
Forum: Plugins
In reply to: [CMB2] text_date can’t save date before 1905This is my code. The date input works and does register the dates, except when I try to add a date before 1905. When I save the taxonomy with this date 08/13/1899, I have an empty date field and my term meta is empty too. (but it work for 08/13/1980). The date picker does work and the date format is the good one…
add_action( 'cmb2_admin_init', 'details_taxonomy_metabox' ); function details_taxonomy_metabox() { $cmb_term = new_cmb2_box( array( 'id' => 'taxonomy_details', 'title' => esc_html__( 'Taxomomy Details ', 'cmb2' ), 'object_types' => array( 'term' ), 'taxonomies' => array( 'authors' ), ) ); $cmb_term->add_field( array( 'name' => 'Date de naissance', 'id' => 'birth-date', 'type' => 'text_date', ) ); }
Viewing 3 replies - 1 through 3 (of 3 total)