CLI_Submissions_Command

Class to access submissions via WP-CLI.

Description

Source

File: src/db-objects/submissions/cli-submissions-command.php

class CLI_Submissions_Command extends CLI_Models_Command {

	/**
	 * Constructor.
	 *
	 * @since 1.0.0
	 *
	 * @param Manager $manager The manager instance.
	 */
	public function __construct( $manager ) {
		parent::__construct( $manager );

		$this->obj_fields = array( 'id', 'form_id', 'user_id', 'timestamp', 'remote_addr', 'user_key', 'status' );
	}
}

Changelog

Changelog
Version Description
1.0.0 Introduced.

Methods