Wordpress cron save post with unfiltered html content - WPRiders - Business Focused WordPress Development
Your Online Success

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.

Leave a reply

Your email address will not be published.

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

REQUEST A QUOTE