Created
April 18, 2017 08:35
-
-
Save ilicfilip/d4b9d77ce60b5d2d8841901c2785cf7b to your computer and use it in GitHub Desktop.
idx avada fix
This file contains 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
// we're on new / edit post screen | |
if( ( !empty($_GET['post_type']) && 'idx_page' != $_GET['post_type'] ) | |
|| (!empty($_GET['post']) && 'idx_page' != get_post_type($_GET['post']) ) | |
){ | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment