Stop getting 0 on api success call in wordpress Leave a Comment / Uncategorized / By Kanha Help Me always use return wp_json_encode( $result ); wp_die(); in php return function Related