BP_ADDTOGROUP::load_options()

Loads the options.

Contents


Return Return

(array) The options.


Source Source

File: src/integrations/buddypress/actions/bp-addtogroup.php

	public function load_options() {
		$bp_group_args = array(
			'uo_include_any' => false,
			'status'         => array( 'public', 'hidden', 'private' ),
		);
		return Automator()->utilities->keep_order_of_options(
			array(
				'options' => array(
					Automator()->helpers->recipe->buddypress->options->all_buddypress_groups( null, 'BPGROUPS', $bp_group_args ),
				),
			)
		);
	}