How to change Instant Sharing operation

The Instant Sharing option by default performs the sharing operation in a truly "immediate" manner. This means the operation will take place while the page is refreshing. You might see a few milliseconds increase in your page reload due to this.

If you'd like to have the operation take place in the background; you can do so by following the guide below.

Include the following code in either your child theme's functions.php file or create a site-specific plugin using the following plugin(recommended):  https://wordpress.org/plugins/pluginception/

All you need to add is the plugin name and then copy the code below and enter it into the editing area, after pasting the code, save your changes and head over to your Plugins area and activate the plugin you just created to see the changes.

function rop_change_publish_now(){
	return false;
}
add_filter('rop_true_share_immediately', 'rop_change_publish_now');
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.