Last active
August 29, 2015 13:57
-
-
Save raulillana/9831164 to your computer and use it in GitHub Desktop.
Types + TML Frontend Profile Fix. Little hack to make TML frontend profile page work with WPTypes custom fields.
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
<?php | |
add_action('init', 'types_tml_fix'); | |
/** Types + TML frontend profile fix */ | |
function types_tml_fix() | |
{ | |
if( !is_admin() ) require WPCF_EMBEDDED_ABSPATH .'/admin.php'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment