mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- remove wpautop filter at UM pages;
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user