Answer the question
In order to leave comments, you need to log in
How to install tp-link t4uh wireless adapter driver on Linux mint 18.3 sylvia?
Please, just explain like a first grader! I just installed Linux today and have never used it before.
Answer the question
In order to leave comments, you need to log in
we ban Vaska:
add_action('init','vab_commentdata_chek');function vab_commentdata_chek($commentdata){
if(isset($_POST['author'])&&$_POST['author']=='Вася'){wp_die(__('Ты отфильтрован!','VAB'));}
return $commentdata;}
add_action('init','vab_commentdata_chek');function vab_commentdata_chek($commentdata){
$users=get_users();
foreach($users as $q){
if(isset($_POST['author'])&&$_POST['author']==get_the_author_meta('display_name',$q->ID)){wp_die(__('Ты отфильтрован!','VAB'));}
}
return $commentdata;}
add_action('init','vab_commentdata_chek');function vab_commentdata_chek($commentdata){
$users=get_users();
foreach($users as $q){
if(isset($_POST['author'])&&$_POST['author']==get_the_author_meta('display_name',$q->ID)){wp_die(__('Ты отфильтрован!','VAB'));}
}
if(isset($_POST['author'])&&$_POST['author']=='Жорик'){wp_die(__('Ты отфильтрован!','VAB'));}
return $commentdata;}
$users=get_users();
foreach($users as $q){
echo get_the_author_meta('display_name',$q->ID).'<br />';
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question