public function register( $context = null ) {
		if ( null !== $context ) {
			$this->add_context( $context );
		}

		if ( ! $this->is_needed( $this->context ) ) {
			return;
		}

		\add_shortcode( $this->get_tag(), [ $this, 'render' ] );
	}
public function register( $context = null ) {
		if ( null !== $context ) {
			$this->add_context( $context );
		}

		if ( ! $this->is_needed( $this->context ) ) {
			return;
		}

		\add_shortcode( $this->get_tag(), [ $this, 'render' ] );
	}
public function register ( $ context = null ) { if ( null !== $ context ) { $ this -> add_context ( $ context ) ; } if ( ! $ this -> is_needed ( $ this -> context ) ) { return ; } \ add_shortcode ( $ this -> get_tag ( ) , [ $ this , 'render' ] ) ; }
Register the shortcode handler function with WordPress.

@since 0.1.0

@param mixed $context Optional. Arguments to pass on to the Registrable.
@return void
Register the shortcode handler function with WordPress .