@@ -70,10 +70,10 @@ discard block |
||
| 70 | 70 | */ |
| 71 | 71 | public static function setup_settings_sections() { |
| 72 | 72 | /** |
| 73 | - * Setup arguments for settings sections and fields |
|
| 74 | - * |
|
| 75 | - * @see https://developer.wordpress.org/reference/functions/register_setting/ |
|
| 76 | - */ |
|
| 73 | + * Setup arguments for settings sections and fields |
|
| 74 | + * |
|
| 75 | + * @see https://developer.wordpress.org/reference/functions/register_setting/ |
|
| 76 | + */ |
|
| 77 | 77 | if ( is_admin() ) { |
| 78 | 78 | $arguments = array( |
| 79 | 79 | 'type' => 'string', |
@@ -480,8 +480,8 @@ discard block |
||
| 480 | 480 | ); |
| 481 | 481 | |
| 482 | 482 | /** |
| 483 | - * Setup arguments for sending only a single product |
|
| 484 | - */ |
|
| 483 | + * Setup arguments for sending only a single product |
|
| 484 | + */ |
|
| 485 | 485 | if ( isset( $id ) && '' !== $id ) { |
| 486 | 486 | $arguments = array( |
| 487 | 487 | 'status' => 'publish', |
@@ -625,8 +625,8 @@ discard block |
||
| 625 | 625 | */ |
| 626 | 626 | public static function algolia_woo_indexer_settings() { |
| 627 | 627 | /** |
| 628 | - * Verify that the user can access the settings page |
|
| 629 | - */ |
|
| 628 | + * Verify that the user can access the settings page |
|
| 629 | + */ |
|
| 630 | 630 | if ( ! current_user_can( 'manage_options' ) ) { |
| 631 | 631 | wp_die( esc_html__( 'Action not allowed.', 'algolia_woo_indexer_settings' ) ); |
| 632 | 632 | } |