';
$output .= '';
$output .= '';
$output .= '';
return $output;
}
/**
* URL Field
*
* @param array $args Args.
* @return string
*/
static public function url_field( $args ) {
$id = $args['id'];
$name = $args['name'];
$title = $args['title'];
$value = $args['value'];
$output = '
';
$output .= '';
$output .= '';
$output .= '
';
return $output;
}
/**
* Checkbox Field
*
* @param array $args Args.
* @return string
*/
static public function checkobox_field( $args ) {
$id = $args['id'];
$name = $args['name'];
$title = $args['title'];
$value = $args['value'];
$output = '';
$output .= '';
$output .= '
';
return $output;
}
/**
* Checkout Selection Field
*
* @param array $args Args.
* @return string
*/
static public function flow_checkout_selection_field( $args ) {
$id = $args['id'];
$name = $args['name'];
$title = $args['title'];
$value = $args['value'];
$checkout_steps = get_posts(
array(
'posts_per_page' => -1,
'post_type' => CARTFLOWS_STEP_POST_TYPE,
'post_status' => 'publish',
'orderby' => 'ID',
'order' => 'ASC',
'tax_query' => array(
array(
'taxonomy' => CARTFLOWS_TAXONOMY_STEP_TYPE,
'field' => 'slug',
'terms' => 'checkout',
),
),
)
);
$output = '';
return $output;
}
}