@@ -4,8 +4,7 @@ discard block |
||
4 | 4 | |
5 | 5 | use GeminiLabs\Castor\Helpers\Utility; |
6 | 6 | |
7 | -class Development |
|
8 | -{ |
|
7 | +class Development { |
|
9 | 8 | public $templatePaths = []; |
10 | 9 | |
11 | 10 | protected $utility; |
@@ -47,7 +46,9 @@ discard block |
||
47 | 46 | public function printFiltersFor( $hook = '' ) |
48 | 47 | { |
49 | 48 | global $wp_filter; |
50 | - if( empty( $hook ) || !isset( $wp_filter[$hook] ))return; |
|
49 | + if( empty( $hook ) || !isset( $wp_filter[$hook] )) { |
|
50 | + return; |
|
51 | + } |
|
51 | 52 | $this->printF( $wp_filter[ $hook ] ); |
52 | 53 | } |
53 | 54 |