● ' . esc_html__('Webhook active', 'aikanen') . ''; } elseif (get_option($autoOption)) { echo '● ' . esc_html__('Webhook not registered', 'aikanen') . ''; } } function aikanen_render_auto_toggle(array $row, bool $disabled): void { ?>
[ [ 'title' => __('Category import', 'aikanen'), 'label' => __('Automatically import new categories and updates from Aikanen', 'aikanen'), 'option' => 'aikanen_auto_import_category', 'webhook' => ['category_import', 'service_group.created'], ], [ 'title' => __('Category export', 'aikanen'), 'label' => __('Automatically sync to Aikanen on category save', 'aikanen'), 'option' => 'aikanen_auto_export_category', ], ], __('Products', 'aikanen') => [ [ 'title' => __('Product import', 'aikanen'), 'label' => __('Automatically import new products and updates from Aikanen', 'aikanen'), 'option' => 'aikanen_auto_import_product', 'webhook' => ['product_import', 'service.created'], ], [ 'title' => __('Product export', 'aikanen'), 'label' => __('Automatically sync to Aikanen on product save', 'aikanen'), 'option' => 'aikanen_auto_export_product', ], ], ]; ?>

$aikanen_rows): ?>