クラス WP_User::add_cap()
2014/12/11
WP_User::add_cap()
定義ファイル :/blog/wp-includes/capabilities.php
1 2 3 4 | public function add_cap( $cap, $grant = true ) { $this->caps[$cap] = $grant; update_user_meta( $this->ID, $this->cap_key, $this->caps ); } |
WEBシステム SI屋の代表のブログです。
2014/12/11
1 2 3 4 | public function add_cap( $cap, $grant = true ) { $this->caps[$cap] = $grant; update_user_meta( $this->ID, $this->cap_key, $this->caps ); } |