function initialize() { parent::initialize(); $this->_load_displayed_gallery(); $this->_marked_scripts = array(); if (did_action('wp_print_scripts')) { $this->_handle_scripts(); } else { add_action('wp_print_scripts', array($this, '_handle_scripts'), 9999); } }
function initialize() { parent::initialize(); $this->_load_displayed_gallery(); }