コード例 #1
0
 /**
  * Shortcode admin interface custom options
  */
 public function build_shortcode_editor_custom_options()
 {
     $html = '';
     $source = array();
     if (isset($_POST['shortcode_object'])) {
         $source = $_POST['shortcode_object'];
     }
     $html .= OTW_Form::text_input(array('id' => 'otw-shortcode-element-css_class', 'label' => $this->get_label('CSS Class'), 'description' => $this->get_label('If you\'d like to style this element separately enter a name here. A CSS class with this name will be available for you to style this particular element..'), 'parse' => $source));
     return $html;
 }