[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-members/classes/ -> class-bp-core-whos-online-widget.php (summary)

BuddyPress Members Who's Online Widget.

File Size: 186 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Core_Whos_Online_Widget:: (5 methods):
  __construct()
  widget()
  update()
  form()
  parse_settings()


Class: BP_Core_Whos_Online_Widget  - X-Ref

Who's Online Widget.

__construct()   X-Ref
Constructor method.

since: 1.5.0
since: 9.0.0 Adds the `show_instance_in_rest` property to Widget options.

widget( $args, $instance )   X-Ref
Display the Who's Online widget.

param: array $args     Widget arguments.
param: array $instance Widget settings, as saved by the user.
since: 1.0.3

update( $new_instance, $old_instance )   X-Ref
Update the Who's Online widget options.

param: array $new_instance The new instance options.
param: array $old_instance The old instance options.
since: 1.0.3
return: array $instance The parsed options to be saved.

form( $instance )   X-Ref
Output the Who's Online widget options form.

param: array $instance Widget instance settings.
since: 1.0.3
return: void

parse_settings( $instance = array()   X-Ref
Merge the widget settings into defaults array.

param: array $instance Widget instance settings.
since: 2.3.0
return: array



Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1