Remove Existing Element

  • Use upb_remove_elements action hook to safely remove existing element.
function remove_upb_tab(){
    upb_elements()->remove( 'upb-tab' );
}

add_action( 'upb_remove_elements', 'remove_upb_tab');

results matching ""

    No results matching ""