Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $recipes = $wpdb->get_results($wpdb->prepare ("SELECT ID FROM ".$wpdb->posts."
- WHERE post_author = %d
- AND post_status IN ('draft','publish')
- AND post_type = 'recipes' ", $current_user->ID));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement