$wp_filters loses ajax nopriv hook
-
Hi,
I’m setting up an ajax nopriv request from a plugin.
After add_action(‘wp_ajax_nopriv_abc‘.. ) I verify with has_action() that my hook is registered (returns prio correctly).The ajax request, though, is rejected with -1 in plugins.php.
The reason: $wp_filters doesn’t contain my hook wp_ajax_nopriv_abc anymore.I don’t have any clue how to proceed.
regards
norbnorb
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘$wp_filters loses ajax nopriv hook’ is closed to new replies.