users_have_additional_content

FILTER wp-admin\users.php (ligne 313) github
Filters whether the users being deleted have additional content associated with them outside of the `post_author` and `link_owner` relationships.

Paramètres

Entrée :
false, $user_ids
Sortie :
@param bool  $users_have_additional_content Whether the users have additional content. Default false.
@param int[] $user_ids                      Array of IDs for users being deleted.

Utilisation

// Modifier la valeur avec le filtre 'users_have_additional_content'
add_filter('users_have_additional_content', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(false) {
    // Modifier la valeur
    return false;
}

Actualités

Chargement des actualités...