public/wordpress/wp-content/plugins/wp-courseware/includes/models/subscription.php
/**
	 * Checks the subscription status against a passed in status.
	 *
	 * @since 4.3.0
	 *
	 * @param string $status The subscription status.
	 *
	 * @return mixed|void
	 */
Checks the subscription status against a passed in status.

@param string $status The subscription status.

@return mixed|void
Checks the subscription status against a passed in status . @param string $status The subscription status . @return mixed|void
public function has_status( $status ) {
		$has_status = ( ( is_array( $status ) && in_array( $this->get_status(), $status ) ) || $this->get_status() === $status ) ? true : false;
		return apply_filters( 'wpcw_subscription_has_status', $has_status, $this, $status );
	}
public function has_status ( $ status ) { $ has_status = ( ( is_array ( $ status ) && in_array ( $ this -> get_status ( ) , $ status ) ) || $ this -> get_status ( ) === $ status ) ? true : false ; return apply_filters ( 'wpcw_subscription_has_status' , $ has_status , $ this , $ status ) ; }
Checks the subscription status against a passed in status.
Checks the subscription status against a passed in status .