@@ -9,7 +9,7 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | add_filter( 'sbp_exclude_defer_scripts', function( $scriptHandles ) { |
| 11 | 11 | $scriptHandles[] = 'site-reviews/google-recaptcha'; |
| 12 | - return array_keys( array_flip( $scriptHandles )); |
|
| 12 | + return array_keys( array_flip( $scriptHandles ) ); |
|
| 13 | 13 | }); |
| 14 | 14 | |
| 15 | 15 | /** |
@@ -17,6 +17,8 @@ |
||
| 17 | 17 | * @return void |
| 18 | 18 | */ |
| 19 | 19 | add_action( 'site-reviews/customize/divi', function( $instance ) { |
| 20 | - if( $instance->tag != 'label' || $instance->args['type'] != 'checkbox' )return; |
|
| 20 | + if( $instance->tag != 'label' || $instance->args['type'] != 'checkbox' ) { |
|
| 21 | + return; |
|
| 22 | + } |
|
| 21 | 23 | $instance->args['text'] = '<i></i>'.$instance->args['text']; |
| 22 | 24 | }); |