'pi_efrs_package', 'numberposts' => -1, 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'pi_priority', 'compare' => 'EXISTS' ), array( 'key' => 'pi_priority', 'compare' => 'NOT EXISTS' ) ), 'orderby'=>'meta_value_num', 'order'=>'DESC' )); ?>
0){ foreach($custom_groups as $method){ $shipping_title = get_the_title( $method->ID ) ? get_the_title( $method->ID ) : 'Package'; $description = get_post_meta( $method->ID, 'pi_desc', true ); $priority = get_post_meta( $method->ID, 'pi_priority', true ); $status = get_post_meta( $method->ID, 'pi_status', true ); echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } }else{ echo ''; echo ''; echo ''; } ?>
'.esc_html($shipping_title).' (ID: '.esc_html( $method->ID ).')'; echo esc_html($description); echo ''; echo esc_html($priority); echo ''; echo '
'; echo '
'; echo ''; echo '
'; echo '
'; echo esc_html__('There are no package created','advanced-free-flat-shipping-woocommerce' ); echo '