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