Ok, so I guess a field that will store a number will work, correct ?
Ok I saw that, thank you.
Last question : what will REALLY happen if I can’t add this “_example” input in postmeta ? I will see an error somewhere ? In the admin or in the front pages ?
Ok thank you, but what does it mean field_5ea808b820138 ? Is this an ID where something is stored on another table ? is that a code ?
I tried this code, but it’s not working, do you know why by any chance ?
function my_acf_save_post( $post_id ) {
if( isset($_POST[‘acf’][‘card_lancement_texte’]) ) {
$_POST[‘acf’][‘card_lancement_texte’] = urlencode($_POST[‘acf’][‘card_lancement_texte’]);
}
return $_POST[‘acf’][‘card_lancement_texte’];
}
add_action(‘acf/save_post’, ‘my_acf_save_post’, 5);
Hi,
I did the database update, but then the emojis are stored as ? in the database. When I display them though the wordpress admin dashboard, they are displayed correctly.
How do I need to convert them if I want to get them with a PHP script ?
Thx