'', 'after' => '', ); /** * Actions hooked for the anchors, so a second `wp` can unhook them (v2.6.0) * * @since 2.6.0 * @var array */ private $hooked = array(); /** * Constructor */ public function __construct() { add_action( 'wp', array( $this, 'ayudawp_register_anchors' ) ); add_action( 'wp_enqueue_scripts', array( $this, 'ayudawp_enqueue_scripts' ) ); add_action( 'wp_head', array( $this, 'ayudawp_print_summary_critical_css' ) ); add_filter( 'the_content', array( $this, 'ayudawp_add_share_buttons' ) ); /* * The "before content" summary is injected by a separate filter at a * deliberately high priority so it runs AFTER content-rewriting filters * (image optimizers, lazy-load, nofollow, table-of-contents, etc.) that * reserialize the_content through DOMDocument. Those filters hoist a * leading