예제 #1
0
 /**
  * This is a function for loading property manager by shortcode
  * @author Howard R <*****@*****.**>
  * @static
  * @param array $instance
  * @return string
  */
 public static function load_listing_manager($instance = array())
 {
     /** PRO Addon **/
     if (!wpl_global::check_addon('PRO')) {
         return __('PRO addon must be installed for this!', WPL_TEXTDOMAIN);
     }
     return wpl_html::load_view('b:listings:manager', $instance);
 }
예제 #2
0
 /**
  * This is a function for loading property manager by shortcode
  * @author Howard R <*****@*****.**>
  * @static
  * @param array $instance
  * @return string
  */
 public static function load_listing_manager($instance = array())
 {
     return wpl_html::load_view('b:listings:manager', $instance);
 }