|
@@ -20,8 +20,9 @@ |
|
20
|
20
|
public function __construct() { |
|
21
|
21
|
$this->actions = [ |
|
22
|
22
|
'stripe_get_tax_rates' => [ |
|
23
|
23
|
'callback' => [ $this, 'get_tax_rates' ], |
|
24
|
+ 'capability' => 'edit_posts', |
|
24
|
25
|
'fields' => array( |
|
25
|
26
|
'api_key' => 'string', |
|
26
|
27
|
) |
|
27
|
28
|
], |