Astra_Mobile_Header::__construct()
Constructor
Description
Source
File: inc/class-astra-mobile-header.php
public function __construct() {
add_action( 'astra_header', array( $this, 'mobile_header_markup' ), 5 );
add_action( 'body_class', array( $this, 'add_body_class' ) );
add_filter( 'astra_main_menu_toggle_classes', array( $this, 'menu_toggle_classes' ) );
add_filter( 'walker_nav_menu_start_el', array( $this, 'toggle_button' ), 20, 4 );
add_filter( 'astra_walker_nav_menu_start_el', array( $this, 'toggle_button' ), 10, 4 );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.4.0 | Introduced. |