public/wordpress/wp-content/plugins/wp-courseware/includes/database/db-subscriptions.php
/**
	 * Insert Subscription.
	 *
	 * @since 4.3.0
	 *
	 * @param array $data The subscription data.
	 *
	 * @return int|bool The subscription id or false if an error occurred.
	 */
Insert Subscription.

@param array $data The subscription data.

@return int|bool The subscription id or false if an error occurred.
Insert Subscription . @param array $data The subscription data . @return int|bool The subscription id or false if an error occurred .
public function insert_subscription( $data = array() ) {
		if ( empty( $data ) ) {
			return false;
		}
		$data = $this->sanitize_columns( $data );
		return $this->insert( $data, 'subscription' );
	}
public function insert_subscription ( $ data = array ( ) ) { if ( empty ( $ data ) ) { return false ; } $ data = $ this -> sanitize_columns ( $ data ) ; return $ this -> insert ( $ data , 'subscription' ) ; }
Insert Subscription.
Insert Subscription .