How to call a static function in add_action() inside another static function?
If your class is called statically you need to use get_called_class() like this: add_action(‘wp_enqueue_scripts’, array( get_called_class(), ‘set_bootstrap’ ) ); since $this is not available. This also works if the class is extended.