function_exists('wp_new_user_notification') always returns true
-
Hi guys,
I’m creating my first plugin, and I’m overriding wp_new_user_notification in it. I’m having an issue, though: whenever I call function_exists() for wp_new_user_notification, it returns true 100% of the time, except when I’m in the admin page.
When I am in the admin page, it works as expected. When I load up another plugin with a wp_new_user_notification, it returns true, but false otherwise.
When doing a grep
grep -rnw ./ -e "function wp_new_user_notification"
of my wordpress directory, it only returns 2 files: my plugin and pluggable.php, so I’m certain there are no other plugins declaring wp_new_user_notification.
I can post code if needed, but I’m literally doing
echo "hmmm: " . function_exists('wp_new_user_notification');
and it returns true as explained above.Any help would be appreciated.
Thanks!
Travis
- The topic ‘function_exists('wp_new_user_notification') always returns true’ is closed to new replies.