function __construct() { parent::__construct(__FILE__, self::PLUGIN_SLUG); $this->markupLoaded = FALSE; add_action('wp_footer', array(&$this, 'write_markup')); add_action('shutdown', array(&$this, 'write_markup')); $this->add_menu($this->__('WPFront Notification Bar'), $this->__('Notification Bar')); }
function __construct() { parent::__construct(__FILE__, self::PLUGIN_SLUG); $this->markupLoaded = FALSE; //Root variables $this->iconsDIR = $this->pluginDIRRoot . 'images/icons/'; $this->iconsURL = $this->pluginURLRoot . 'images/icons/'; add_action('wp_footer', array(&$this, 'write_markup')); add_action('shutdown', array(&$this, 'shutdown_callback')); $this->add_menu($this->__('WPFront Scroll Top'), $this->__('Scroll Top')); }