Last active
May 9, 2025 11:18
-
-
Save akther80/c0aeadccbec4a3dff48be410ba0d4a74 to your computer and use it in GitHub Desktop.
mytravel - Rearranging search button after naviagtion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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