add_action('init','do_stuff'); function do_stuff(){ $current_user = wp_get_current_user(); // ... } Solution 2: You can use this,. <?php ...
確定! 回上一頁