Esempio n. 1
0
 /**
  * Over write parent method, set this element as Child element
  *
  * @param string $content
  * @param string $shortcode_data
  * @param string $el_title
  *
  * @return string
  */
 public function element_in_pgbldr($content = '', $shortcode_data = '', $el_title = '', $index = '', $inlude_sc_structure = true, $extra_params = array())
 {
     $this->config['sub_element'] = true;
     return parent::element_in_pgbldr($content, $shortcode_data, $el_title, $index, $inlude_sc_structure, $extra_params);
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @return  void
  */
 public function __construct()
 {
     parent::__construct();
 }
Esempio n. 3
0
 /**
  * Enqueue custom assets for front-end.
  *
  * @return  void
  */
 public function custom_assets_frontend()
 {
     parent::custom_assets_frontend();
     wp_enqueue_script('wr-pb-googlemap-js', 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false', null, null, true);
 }