Skip to content

Instantly share code, notes, and snippets.

@akther80
Last active May 9, 2025 11:18
Show Gist options
  • Save akther80/c0aeadccbec4a3dff48be410ba0d4a74 to your computer and use it in GitHub Desktop.
Save akther80/c0aeadccbec4a3dff48be410ba0d4a74 to your computer and use it in GitHub Desktop.
mytravel - Rearranging search button after naviagtion
add_action('init', 'mytravel_child_rearrange_search_button');
function mytravel_child_rearrange_search_button() {
remove_action( 'mytravel_header_v1', 'mytravel_navbar_search', 30 );
add_action( 'mytravel_header_v1', 'mytravel_navbar_search', 55 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment