Tribe_Tickets_Protected_Content::get_html()

{@inheritDoc}

Topics


Source #

File: src/Tribe/Shortcode/Tribe_Tickets_Protected_Content.php

	public function get_html() {
		$args = $this->get_arguments();

		// Let the trait know what called this.
		$args['context'] = $this->get_registration_slug();

		// Can they see the content?
		if ( ! $this->can_see_content( $args ) ) {
			return '';
		}

		// Return content with shortcodes processed (support embedded shortcodes).
		return do_shortcode( $this->content );
	}