Tool::signup( $args )

(De)Activate the Signup feature.

Description Description

: Status of the feature.
$ wp bp tool signup 1 Success: Signup tool updated.
$ wp bp tool signup 0 Success: Signup tool updated.

Source Source

File: cli/src/tool.php

	public function signup( $args ) {
		bp_update_option( 'users_can_register', $args[0] );

		WP_CLI::success( 'Signup tool updated.' );

Top ↑

User Contributed Notes User Contributed Notes

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