BP_Core_Login_Widget::小部件(大批args美元,大批美元的实例)
显示登录小部件。
描述
另请参阅
- WP_Widget::小部件():参数说明。
参数
- args美元
-
(大批)(必需)小部件参数。
- 美元的实例
-
(大批)(必需)小部件设置,由用户保存。
来源
文件:bp-core /类/ class-bp-core-login-widget.php
公共功能窗口小部件($ args,$ scents){$ title = isset($ stance ['标题'])?$ instance ['标题']:'';/ ** *过滤登录小部件的标题。* * @since buddypress 1.9.0 * @since buddypress 2.3.0将“instance”和'id_base'添加到传递给过滤的参数。* * @param字符串$ title the小部件标题。* @param array $ sintual窗口小部件的特定实例的设置。* @param字符串$ id_base root of此类型的小部件的root id。* / $ title = apply_filters('widget_title',$ title,$ storation,$ this-> id_base);echo $ args ['before_widget'];回声$ args ['preast_title']。 esc_html( $title ) . $args['after_title']; ?>
更新日志
版本 | 描述 |
---|---|
BuddyPress 1.9.0 | 介绍了。 |