function __construct($__file__) { // super parent::WPBannerizeClass($__file__); // Foo string for PoEdit $foo_publish = __('Publish', 'wp-bannerize'); add_action('plugins_loaded', array($this, 'init'), 1); }
function __construct($__file__) { // super parent::WPBannerizeClass($__file__); // Load configurations options $this->options = get_option($this->options_key); add_action('wp_head', array(&$this, 'wp_enqueue_script')); add_action('wp_head', array(&$this, 'customCSS')); // @deprecated from 3.0.0 add_shortcode("wp-bannerize", array($this, "bannerize")); // Added @since 3.0.0 add_shortcode(kWPBannerizeShortcodeName, array($this, "bannerize")); }