Init hook priority issue
-
On my site I have a lot of custom post types configured using PODS plugin. When submitting front end forms these post types aren’t registered yet.
To fix the problem I had to change the ‘init’ hook priority in core/core-forms.php:15 from 10 to wordpress default 15.
add_action( 'init', array( $this, 'pre_form' ), 15, 0 );
After some testing, it seems that everything is working fine – can you please include this fix in the next release?
Thanks in advance,
Eric
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Init hook priority issue’ is closed to new replies.