run(); Blocks::run(); Rest::run(); ( new Abilities() )->run(); /** * When AlertsDLX can be extended. * * Filter when AlertsDLX can be extended. * * @since 1.0.0 */ do_action( 'alerts_dlx_loaded' ); } /** * Init all the things. */ public function init() { // Nothing here yet. } } add_action( 'plugins_loaded', function () { $alerts_dlx = AlertsDLX::get_instance(); $alerts_dlx->plugins_loaded(); } ); // Custom the_content filter for output and no conflicts. global $wp_embed; add_filter( 'alerts_dlx_the_content', array( $wp_embed, 'run_shortcode' ), 8 ); add_filter( 'alerts_dlx_the_content', array( $wp_embed, 'autoembed' ), 8 ); add_filter( 'alerts_dlx_the_content', 'wptexturize' ); add_filter( 'alerts_dlx_the_content', 'convert_chars' ); add_filter( 'alerts_dlx_the_content', 'wpautop' ); add_filter( 'alerts_dlx_the_content', 'shortcode_unautop' ); add_filter( 'alerts_dlx_the_content', 'do_shortcode' );