wip filter email registration
This commit is contained in:
@@ -17,7 +17,7 @@ if (!defined('ABSPATH')) {
|
||||
*
|
||||
*/
|
||||
function partner_page_scripts_CIPF() {
|
||||
PLGNTLS_class::debug_infos();
|
||||
PLGNTLS_class::debug_infos(2);
|
||||
$role_partner = PLGNTLS_class::ROLE_PARTNER;
|
||||
|
||||
/*
|
||||
@@ -33,6 +33,7 @@ function partner_page_scripts_CIPF() {
|
||||
if (!current_user_can($role_partner)) {
|
||||
return;
|
||||
}
|
||||
PLGNTLS_class::debug_infos();
|
||||
global $post;
|
||||
$current_post_author = (int)($post->post_author);
|
||||
$current_user_id = (int)get_current_user_id();
|
||||
|
||||
Reference in New Issue
Block a user