Mihai Irodiu
Developer @ WPR
Date
March 17, 2017

WordPress cron save post with unfiltered html content

This applies for method “wp_insert_post” used inside a WordPress Cron. By default WordPress checks if the user has the capability to save unfiltered HTML content if ( ! current_user_can( ‘unfiltered_html’ ) ) { which WP CRON doesn’t have.

Entrepreneurs usually struggle to create their online platforms when they don’t have a technical partner. It’s confusing and overwhelming.
We have a 5-step process that makes it easy and helps them avoid all the traps. In just 60 days, your web platform is set up and they can start making money.
Send us your project idea and get a free 5-minute review.
Want a beautiful website or plugin?

Leave a reply

Your email address will not be published.

Your email address will not be published. Required fields are marked *

Want More Amazing Stories?
Sign up now and get the best business as well as technical advice on how to run your WordPress powered business:
  • This field is for validation purposes and should be left unchanged.