- remove wpautop filter at UM pages;

This commit is contained in:
nikitozzzzzzz
2018-03-12 11:56:24 +02:00
parent 67aacd1b11
commit a95731c614
3 changed files with 27 additions and 16 deletions
-16
View File
@@ -174,22 +174,6 @@ function um_user_last_login_date( $user_id ) {
}
/**
* Check if we are on UM page
*
* @deprecated 2.0
*
* @return bool
*/
function is_ultimatemember() {
global $post;
if ( isset( $post->ID ) && in_array( $post->ID, UM()->config()->permalinks ) )
return true;
return false;
}
/**
* Is core URL
*