Allow Revive Old Posts to work on Staging or Development websites

Revive Old Posts has some checks and methods in place to help detect staging or development WordPress environments. When ROP detects such environments a notice is shown in the dashboard and the sharing process is skipped:

NOTE: ROP will still continue to share Revive Network feed item shares since feed item links are usually from an external website.

To allow ROP to share as normal on a staging or development environment then you can use the code below and add it to a Site-Specific Plugin or your child theme's functions.php.

function rop_skip_shares_on_development(){
	return false;	
}
add_filter('rop_dont_work_on_staging', 'rop_skip_shares_on_development');

Easy Method: Download and install the small plugin attached below, it already has the code implemented.

allow-rop-on-development.zip

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.