Allow Revive Social to work on Staging or Development websites

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

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

To allow Revive Social 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.