wpcfe_before_add_shipment

“wpcfe_before_add_shipment” hook is used to add menu item in the frontend dashboard sidebar.

Copy and paste the following code in functions.php of your current theme.

//**Change the url into your page url

function custom_dashboard_menu_callback(){ ?>
    <a href="https://mysite.com/home" class="list-group-item waves-effect home"><i class="fa fa-plus mr-md-3 d-none d-lg-inline-block d-xl-inline-block"></i><?php echo apply_filters( 'wpcfe_create_shipment', esc_html__('Home', 'wpcargo-frontend-manager') ); ?> 
							</a>
    <?php
}
add_action( 'wpcfe_before_add_shipment', 'custom_dashboard_menu_callback' );

0
    0
    Your Cart
    Your cart is emptyReturn to Shop