How do I empty a specific meta_value for all users in PHP

You could specify the meta key in the user query so the results you’re getting back are only for users who have an existing field. For reference WP_User_Query custom field(user meta) params. $args = array( ‘role’ => ‘Subscriber’, ‘meta_query’ => array( array( ‘key’ => ‘old_meta_key_name’, ‘compare’ => ‘EXISTS’ ) ), ); $users_with_meta = new WP_User_Query( … Read more

Render CMB2 select option to post page [closed]

Questions regarding 3rd party plugins are considered off-topic here so you’lle need to dig into the plugins documentation or use its support forum to get an exact answer for you question. I would recommend you to var_dump() all of the post’s meta to see, if the data is actually saved with the wiki_test_select key or … Read more

Is it possible to specify a time interval (from, to) in ACF with date picker, or other custom field?

There’s no native “Time Interval” field type in ACF, but you could: Use a third-party custom field like the “Date Range Picker” provided by ACF Extended (it’s a commercial plugin that adds features to ACF). Use 2 distinct native Date Picker fields for “from” and “to”, possibly inserted inside a Group. You may take advantage … Read more