Пример #1
0
 /**
  * @param $target
  */
 public function renderTo($target)
 {
     $this->_target = $target;
     if ($this->_isValid()) {
         // enqueue scripts and styles
         IfwPsn_Wp_Proxy_Script::loadAdmin('wp-pointer', false, array('jquery'));
         IfwPsn_Wp_Proxy_Style::loadAdmin('wp-pointer');
         IfwPsn_Wp_Proxy_Action::addAdminFooterCurrentScreen(array($this, 'renderScript'));
         IfwPsn_Wp_Proxy_Action::add('admin_footer-post-new.php', array($this, 'renderScript'));
         IfwPsn_Wp_Proxy_Action::add('admin_footer-edit.php', array($this, 'renderScript'));
     }
 }