Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




add_existing_user_to_blog [ WordPress Function ]

add_existing_user_to_blog ( $details = false )
Parameters:
  • (array) $details
Uses:
Defined at:



Add a user to a blog based on details from maybe_add_existing_user_to_blog().

Source


<?php
function add_existing_user_to_blog$details false ) {
    global 
$blog_id;

    if ( 
is_array$details ) ) {
        
$result add_user_to_blog$blog_id$details'user_id' ], $details'role' ] );
        
do_action'added_existing_user'$details'user_id' ], $result );
    }
    return 
$result;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics