コード例 #1
0
 public function __construct()
 {
     parent::__construct("wordlift_entity_autocomplete_widget", "Select Entity", array('description' => "This widget allows to select an entity using an auto-complete select box."));
 }
コード例 #2
0
 /**
  * Register widget with WordPress.
  */
 public function __construct()
 {
     parent::__construct("wordlift_related_posts_widget", "Related Posts", array('description' => "This widget shows the related posts."));
 }