Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function create_dummy_post_object() {
- global $post;
- if (is_null($post)) $post = new stdClass;
- }
- add_action('tribe_ce_before_event_submission_page', 'create_dummy_post_object');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement