Seguici su

phpinfo

[insert_php]
//phpinfo();
[/insert_php]

[insert_php]
// WP_User_Query arguments
$args = array (
);

// The User Query
$test_query = new WP_User_Query( $args );
echo ‘A’;
// The User Loop
if ( ! empty( $test_query->results ) ) {
foreach ( $test_query->results as $user ) {
// do something
echo ‘B’ . get_the_title();
}
} else {
// no users found
echo ‘C’;
}
echo ‘D’;
[/insert_php]

torna all'inizio del contenuto