flush_rules() is not called on auto-publish
-
If a boxzilla box is set to be published at a future date, the Admin->flush_rules method doesn’t get called at publish time, and the box never gets shown until it is saved manually in the admin interface again.
I have solved this on our site by using the transition_post_status hook and calling $boxzilla[‘admin’]->flush_rules($post_id) when conditions match, but it would be great if this was solved in the plugin itself.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘flush_rules() is not called on auto-publish’ is closed to new replies.