Plugin filters / cbc allow auto import

Description

Filter that can prevent all automatic imports from running.

Parameters

$allow
(boolean)(required) Allow automatic imports to run (true) or prevent them (false).

Default:true

Examples

Prevent all automatic imports from running on your website.

add_filter( 'cbc_allow_auto_import', '__return_false' );

Related