BP_Suggestions::__construct( array $args = array() )
Constructor.
Description
Parameters
- $args
-
(Optional) If set, used as the parameters for the suggestions service query.
Default value: array()
Source
File: bp-core/classes/class-bp-suggestions.php
public function __construct( array $args = array() ) { if ( ! empty( $args ) ) { $this->set_query( $args ); } }
Changelog
Version | Description |
---|---|
BuddyPress 2.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.