Gift_Certificate_Form::render( $attr, $instance )
Summary
No summary available.Source
File: src/BigCommerce/Shortcodes/Gift_Certificate_Form.php
public function render( $attr, $instance ) { if ( ( (bool) get_option( \BigCommerce\Settings\Sections\Gift_Certificates::OPTION_ENABLE, true ) ) == false ) { return ''; // render nothing if gift certificates are disabled } $controller = Templates\Gift_Certificate_Page::factory(); return $controller->render(); }