Insert image in cron post
-
Is there a way to insert an image into the content of the scheduled post?
Here’s the code I have so far:$my_post = array( 'post_title' => 'POST TITLE / '.$domani->format('j.m.Y'), 'post_name' => $new_bar, 'post_content' => 'POST TEXTUAL CONTENT', 'post_status' => 'future', 'post_date' => $domani->format('Y-m-d').' 5:00', 'post_date_gmt' => $domani->format('Y-m-d').' 4:00', 'post_category' => array(get_cat_ID('Bar')) );
- The topic ‘Insert image in cron post’ is closed to new replies.