wp_delete_post Unexpected ”
-
Hello,
Im trying to delete a post of a custom post type.
When I use wp_delete_post, it removes the post but returns Unexpected ”.
I debugged the code and I found the problem in this line: do_action( ‘delete_post’, $postid ) of wp_delete_post function.
Can you please help me?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp_delete_post Unexpected ”’ is closed to new replies.