public function __construct() { $this->directory_path = plugin_dir_path(dirname(__FILE__)); $this->directory_url = plugin_dir_url(dirname(__FILE__)); $this->shortcodes = badgeos_get_shortcodes(); add_action('admin_enqueue_scripts', array($this, 'admin_scripts'), 99); add_action('media_buttons', array($this, 'render_button'), 20); add_action('admin_footer', array($this, 'render_modal')); }
/** * Add all shortcodes to the help page. * * @since 1.4.0 */ function badgeos_help_support_page_shortcodes() { foreach (badgeos_get_shortcodes() as $shortcode) { badgeos_shortcode_help_render_help($shortcode); } }