wordpress酷播 酷播怎么样-成都创新互联网站建设

关于创新互联

多方位宣传企业产品与服务 突出企业形象

公司简介 公司的服务 荣誉资质 新闻动态 联系我们

wordpress酷播 酷播怎么样

酷播wordpress要插入的视频文件应该放在哪里?

先判断下是否登录,然后获取当前用户对象,然后获取当前用户对象的信息,需要哪些用哪些:

创新互联自2013年起,先为依兰等服务建站,依兰等地企业,进行企业商务咨询服务。为依兰企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。

if(is_user_logged_in()){

$current_user = wp_get_current_user();

/**

* @example Safe usage: $current_user = wp_get_current_user();

* if ( !($current_user instanceof WP_User) )

* return;

*/

echo 'Username: ' . $current_user-user_login . 'br /';

echo 'User email: ' . $current_user-user_email . 'br /';

echo 'User first name: ' . $current_user-user_firstname . 'br /';

echo 'User last name: ' . $current_user-user_lastname . 'br /';

echo 'User display name: ' . $current_user-display_name . 'br /';

echo 'User ID: ' . $current_user-ID . 'br /';

}

酷播wordpress插件的要插入的视频文件应该放在哪里?

先判断下是否登录,然后获取当前用户对象,然后获取当前用户对象的信息,需要哪些用哪些:

if(is_user_logged_in()){

$current_user = wp_get_current_user();

/**

* @example Safe usage: $current_user = wp_get_current_user();

* if ( !($current_user instanceof WP_User) )

* return;

*/

echo 'Username: ' . $current_user-user_login . 'br /';

echo 'User email: ' . $current_user-user_email . 'br /';

echo 'User first name: ' . $current_user-user_firstname . 'br /';

echo 'User last name: ' . $current_user-user_lastname . 'br /';

echo 'User display name: ' . $current_user-display_name . 'br /';

echo 'User ID: ' . $current_user-ID . 'br /';

}


分享文章:wordpress酷播 酷播怎么样
当前URL:http://kswsj.cn/article/doigsie.html

其他资讯