ホーム > クラス > クラス WP_Roles::get_role() 2014/12/10 2014/12/11 目次1 WP_Roles::get_role()2 定義ファイル :/blog/wp-includes/capabilities.phpWP_Roles::get_role()定義ファイル :/blog/wp-includes/capabilities.phpPHP public function get_role( $role ) { if ( isset( $this->role_objects[$role] ) ) return $this->role_objects[$role]; else return null; }123456 public function get_role( $role ) { if ( isset( $this->role_objects[$role] ) ) return $this->role_objects[$role]; else return null; } - クラス