Search

Table of Contents

Automatically Fill the Pending Revision Checkbox

You are here:

It is possible to automatically select the “Pending Revision” checkbox in the PublishPress Revisions plugin.

This screenshot shows the checked version of the “Pending Revision” box:

Pending Revision Auto
Pending Revision Auto

To fill in this checkbox automatically, add this code to your theme's functions.php file:

/*
 * PublishPress Revisions Customization
 *
 * Select "Pending Revision" checkbox by default
 *
 * https://publishpress.com
 */
add_filter('revisionary_default_pending_revision', function($return, $post_id){return true;}, 10, 2);

Professional publishing plugins for WordPress! Get PublishPress