src/Html/FormBuilder.php
public function wpEditor($name, $value = null, $options = array())
    {
        ob_start();

        $value = $this->getValueAttribute($name, $value);

        $value = $this->html->decode($value);

        wp_editor($value, $name, $options = array());

        $wpEditor = ob_get_contents();

        ob_end_clean();

        return $wpEditor;
    }
public function wpEditor($name, $value = null, $options = array())
    {
        ob_start();

        $value = $this->getValueAttribute($name, $value);

        $value = $this->html->decode($value);

        wp_editor($value, $name, $options = array());

        $wpEditor = ob_get_contents();

        ob_end_clean();

        return $wpEditor;
    }
public function wpEditor ( $ name , $ value = null , $ options = array ( ) ) { ob_start ( ) ; $ value = $ this -> getValueAttribute ( $ name , $ value ) ; $ value = $ this -> html -> decode ( $ value ) ; wp_editor ( $ value , $ name , $ options = array ( ) ) ; $ wpEditor = ob_get_contents ( ) ; ob_end_clean ( ) ; return $ wpEditor ; }
Create a WordPress Editor.

@param string $name
@param string $value
@param array  $options

@return string
Create a WordPress Editor .