• Resolved olidac

    (@olidac)


    The entry viewer html is showed in responses of rest api if a a post contains the shortcode caldera_forms_entry_viewer.

    file : classes/entry/vue.php
    function : display

    	public function display(){
    		$this->enqueue();
    		ob_start();
    		include  CFCORE_PATH .'ui/viewer-two/viewer.php';
    		return ob_start(); // problem here : return ob_get_clean();
    	}

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    • This topic was modified 8 years, 5 months ago by bdbrown.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Bug in Entry viewer diplay function’ is closed to new replies.