Schedule a Free Consultation
WordPress cron save post with unfiltered html content

WordPress cron save post with unfiltered html content

Read Article

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.

Navigate to

Check some other articles we wrote

WordPress Plugin to Categorize Blog Posts Comments
As a blogger and entrepreneur, you want to build strong relationships with your audience by answering their comments and using the feedback you’ve gathered to create better content.
Filter Custom Posts by Author in WP-Admin
Need to filter your Custom Post Types in WordPress by Author in WPAdmin? Here’s a handy way to do it by adding a new drop down for filtering: And here’s how it looks like:
WordPress Maintenance, Support, Consultancy, Development or Management? [How to choose the one you need]
WordPress started as a blogging platform and seamlessly transitioned to an excellent CMS. According to W3Techs, it powers 43% of all online websites globally. Nowadays, most of the business owners with an online presence on WordPress look for a care service for their website. But an online search will reveal one of the following services: Maintenance, […]