My Post
‘orderby’ => ‘post_date’,
‘order’ => ‘ASC’,
‘post_status’ => ‘publish’,
‘posts_per_page’ => -1
);
$current_user_posts = get_posts( $args );
//echo ”
"; print_r($current_user_posts); die; foreach ($current_user_posts as $post) { ?>
$trimmed_content = wp_trim_words( $content, 5, NULL );
echo $trimmed_content
?>