Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Init hook priority issue

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 59525

Trending Articles