Automattic\WooCommerce\EmailEditor\Engine
Site_Style_Sync_Controller::is_sync_enabled
Check if site style sync is enabled
Method of the class: Site_Style_Sync_Controller{}
Hooks from the method
Returns
true|false.
Usage
$Site_Style_Sync_Controller = new Site_Style_Sync_Controller(); $Site_Style_Sync_Controller->is_sync_enabled(): bool;
Site_Style_Sync_Controller::is_sync_enabled() Site Style Sync Controller::is sync enabled code WC 10.5.0
public function is_sync_enabled(): bool {
/**
* Filter to enable/disable site style sync functionality
*
* @param bool $enabled Whether site style sync is enabled.
*/
return apply_filters( 'woocommerce_email_editor_site_style_sync_enabled', true );
}