isset( $_GET['updated'] ) ? sanitize_text_field( wp_unslash( $_GET['updated'] ) ) : '', 'error' => isset( $_GET['error'] ) ? sanitize_text_field( wp_unslash( $_GET['error'] ) ) : '', ); // phpcs:enable WordPress.Security.NonceVerification.Recommended $is_edit = ! empty( $spec['id'] ); $list_url = admin_url( 'admin.php?page=torlann-specs' ); $edit_url = static function ( $id ) { return add_query_arg( array( 'page' => 'torlann-specs', 'edit' => (int) $id, ), admin_url( 'admin.php' ) ); }; $tl_icon_trash = ''; $tl_icon_edit = ''; $tl_icon_grip = ''; Torlann_Admin::page_header( '', array( 'hide_header' => true ) ); ?>
0 ? sprintf( /* translators: %d: product count */ _n('Used on %d product — deleting it will also remove the values', 'Used on %d products — deleting it will also remove the values', $product_count, 'torlann'), $product_count ) : __('Delete', 'torlann'); ?>