cipf added css to hide parts of user profil when fipf see them
This commit is contained in:
@@ -4,7 +4,7 @@ Plugin Name: hggg_custer
|
||||
Plugin URI:
|
||||
Description: customize user : output infos on page, on email, and change current user id momentarly
|
||||
Author: hugogogo
|
||||
Version: 0.2.0
|
||||
Version: 0.2.1
|
||||
Author URI:
|
||||
*/
|
||||
|
||||
|
||||
@@ -59,18 +59,18 @@ function format_user_info($query, $current_user, $user_id, $if_empty = '') {
|
||||
* return author page url
|
||||
*
|
||||
*/
|
||||
if ($query === '__author_page__') {
|
||||
if ($query === '__author_page_url__') {
|
||||
$output = get_author_posts_url($user_id);
|
||||
return \CUSTER\return_result($output);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* if is special query __user_post__
|
||||
* if is special query __user_post_url__
|
||||
* return author page url
|
||||
*
|
||||
*/
|
||||
if ($query === '__user_post__') {
|
||||
if ($query === '__user_post_url__') {
|
||||
$output = \CUSTER\find_user_post_url($user_id);
|
||||
return \CUSTER\return_result($output);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user