| @@ -26,18 +26,9 @@ | ||
| 26 | 26 | private function __construct() { |
| 27 | 27 | add_action( 'init', [ $this, 'plugins_support' ], 9 ); |
| 28 | 28 | add_action( 'init', [ $this, 'themes_support' ], 9 ); |
| 29 | 29 | add_filter( 'woocommerce_locate_template', [ $this, 'shipping_method_support' ], 10, 3 ); |
| 30 | - if( defined( 'RTSB_DEVELOPER_MODE' ) && RTSB_DEVELOPER_MODE ){ | |
| 31 | - $this->developer_support(); | |
| 32 | - } | |
| 33 | - } | |
| 34 | 30 | |
| 35 | - /** | |
| 36 | - * @return void | |
| 37 | - */ | |
| 38 | - public function developer_support() { | |
| 39 | - add_filter( 'rtsb/builder/args/publicly_queryable', '__return_true', 5 ); | |
| 40 | 31 | } |
| 41 | 32 | |
| 42 | 33 | /** |
| 43 | 34 | * Theme Support |