快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

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酷播 酷播怎么样
文章地址:http://6mz.cn/article/doigsie.html

其他资讯