Is there a way to set the next post ID to something very high?

Yes, you can increase the next post ID. The next value is controlled by the AUTO_INCREMENT setting of the post table in your database. If you use phpMyAdmin, you can do this by opening up the post table (my prefix is wp1, therefore my table here is wp1_posts), then select the “Operations” tab and then … Read more

Conditional delete metadata does not works

Try applying these and your code might work: Looking at the expressions $type_of_running == ‘manually_run’ and $type_of_running == ‘planned_run’, where you’re expecting get_post_meta() to return a single meta value, you should then set the 3rd parameter to true: // Set the 3rd param to true to get a single meta value. $type_of_running = get_post_meta($post_id, ‘spusteni_dotazovani’, … Read more