BuddyPressCommand::get_components_and_actions()

Get a list of activity components and actions.


Return Return

(array)


Source Source

File: cli/src/command.php

	protected function get_components_and_actions() {
		return array_map(
			function( $component ) {
				return array_keys( (array) $component );
			},
			(array) bp_activity_get_actions()
		);
	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.