wip filter email registration

This commit is contained in:
asus
2024-03-26 22:33:41 +01:00
parent dbb6dc0d19
commit 0136be4316
15 changed files with 97 additions and 24 deletions

View File

@@ -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();