wp_ajax_nopriv working code example Example: wp_ajax_nopriv working used for guest user (Users that are not logged in)