Noptin_Page::do_shortcode( $atts )
Converts shortcode to html
Return Return
(array)
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(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.6 | Introduced. |