Noptin_Page::do_shortcode( $atts )

Converts shortcode to html


Return Return

(array)


Top ↑

Source Source

File: includes/class-noptin-page.php

	public function do_shortcode( $atts ) {

		// Abort early if no action is specified.
		$action = $this->get_request_action();
		if ( empty( $action ) ) {
			return '';
		}

		// Retrieve the optional value.
		$value = $this->get_request_value();

		ob_start();

		do_action( "noptin_page_$action", $value );

		return ob_get_clean();

	}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.0.6Introduced.

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation