[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-friends/classes/ -> class-bp-core-friends-widget.php (summary)

BuddyPress Friends Widget.

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

Defines 1 class

BP_Core_Friends_Widget:: (5 methods):
  __construct()
  enqueue_scripts()
  widget()
  update()
  form()


Class: BP_Core_Friends_Widget  - X-Ref

The User Friends widget class.

__construct()   X-Ref
Class constructor.

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

enqueue_scripts()   X-Ref
Enqueue scripts.

since: 2.6.0

widget( $args, $instance )   X-Ref
Display the widget.

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

update( $new_instance, $old_instance )   X-Ref
Process a widget save.

param: array $new_instance The parameters saved by the user.
param: array $old_instance The parameters as previously saved to the database.
return: array $instance The processed settings to save.
since: 1.9.0

form( $instance )   X-Ref
Render the widget edit form.

param: array $instance The saved widget settings.
since: 1.9.0



Generated: Tue Mar 19 01:01:09 2024 Cross-referenced by PHPXref 0.7.1