コード例 #1
0
 /**
  * Init
  */
 public function __construct()
 {
     parent::__construct('wpp_property_stats', $name = sprintf(__('%1s Attributes', ud_get_wp_property()->domain), \WPP_F::property_label()), array('description' => __('Widget for Single Property page that renders property attributes table.', ud_get_wp_property()->domain)));
 }
コード例 #2
0
 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct(false, $name = sprintf(__('Child %1s', ud_get_wp_property()->domain), WPP_F::property_label('plural')), array('description' => __('Show child properties (if any) for currently displayed property', ud_get_wp_property()->domain)));
 }
コード例 #3
0
 /**
  * Init
  */
 public function __construct()
 {
     parent::__construct('wpp_list_attachments', $name = __('List Attachments', ud_get_wp_property()->domain), array('description' => sprintf(__('Used to display attachments of a %s, can also be used in a post.', ud_get_wp_property()->domain), \WPP_F::property_label())));
 }
コード例 #4
0
 /**
  * Init
  */
 public function __construct()
 {
     parent::__construct('wpp_property_terms', $name = sprintf(__('%1s Terms', ud_get_wp_property()->domain), \WPP_F::property_label()), array('description' => __('Renders property terms for specific taxonomy.', ud_get_wp_property()->domain)));
 }
コード例 #5
0
 /**
  * Init
  */
 public function __construct()
 {
     parent::__construct('wpp_property_overview', $name = sprintf(__('%1s Overview', ud_get_wp_property()->domain), \WPP_F::property_label('singular')), array('description' => __('Property Overview Widget', ud_get_wp_property()->domain)));
 }