Support » Plugin: WPSiteSync for Content » Only Allow Administrators to Push to Live

  • Resolved manakuke


    Is there a way to only allow administrators to be able to push to sync? We only want editors/contributors on the staging site to make edits/publish there, then have an admin review said edits before pushing the content to the live site.

    I’ve tried using Capability Manager Enhanced, but there weren’t any options that allowed me to disable access as outlined above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I found a work around, but it is theme dependent via the functionsp.php file.

    //Remove Snyc Button Meta Box widget on Admin for non-admins
    function remove_plugin_metaboxes(){
    	// Only run if the user is an Author or lower.
    	if ( ! current_user_can( 'manage_options' ) ) {
    		remove_meta_box( 'spectrom_sync', 'post', 'side' );
    		remove_meta_box( 'spectrom_sync', 'page', 'side' );
    add_action( 'do_meta_boxes', 'remove_plugin_metaboxes' );

    Would prefer a way to control via the plugin settings or via managing roles, not the theme.

    Plugin Author ServerPress


    Hello @manakuke,

    Unfortunately, WPSiteSync cannot limit syncing to administrators at the moment.

    We have submitted your issue as a feature request. Please stay tuned for future updates.

    I hope you could mark this issue as “resolved if you feel that we have answered your question. Please let us know if you have other issues you’d like us to address. Thank you.

    Plugin Author ServerPress


    I’m going to go ahead and mark this issue as resolved since it’s a feature request and not a bug report.

    Thank you for your interest and we’ll let you know when the feature is implemented.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only Allow Administrators to Push to Live’ is closed to new replies.