Default Widget PHP
'; //Let's do some dynamic content on the header. Passing toolbar and content keys to $widget->header $widget->header = array( "icon" => 'fa-check', "toolbar" => array( array( "id" => "toolbar-id", "content" => '', "class" => 'smart-form' ), array( "attr" => array("data-cool-id" => "123454321"), "content" => '
2.35% (Simple Toolbar)
'
),
"title" => "My PHP Widget
" ); $widget->class = "some-cool-class"; $widget->id = "my-id-here"; $widget->body = array( 'editbox'=>' Change title to update and save instantly!', 'content' => 'Hello World!
I just want to say that word in <h2>
', 'toolbar' => '