sfw/allow_shop_change
Description
Add a Admin Notice if shop was not configured already
Usage
<?php
function my_sfw_allow_shop_change ( true === sfw_constant('ALLOW_SHOP_CHANGE') ){
…
// modify true === sfw_constant('ALLOW_SHOP_CHANGE') here
…
return true === sfw_constant('ALLOW_SHOP_CHANGE');
}
add_filter( 'sfw/allow_shop_change', 'my_sfw_allow_shop_change', 10, 1 );
?>