redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

Including html as description

Open Zigson opened this issue 12 years ago • 2 comments

Hi,

I am trying to use

array( 'id'=>'raw_info', 'type' => 'info', 'raw_html'=> true, 'desc' => require_once('includes/icon_chooser.html'), ),

although I am gettng this:

screen shot 2014-02-01 at 20 34 12

If I write html as value of desc, everything ok.

Any help appreciated.

Zigson avatar Feb 01 '14 19:02 Zigson

Read that file into an output buffer first. There are php docs everywhere for that. ;)

dovy avatar Feb 01 '14 19:02 dovy

Thanks, will search for it ;)

Zigson avatar Feb 01 '14 20:02 Zigson