mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-02 12:02:25 +08:00
2 lines
133 B
Text
2 lines
133 B
Text
add_filter( 'woocommerce_prevent_admin_access', '__return_false' );
|
|
add_filter( 'woocommerce_disable_admin_bar', '__return_false' );
|