mirror of
https://ghproxy.net/https://github.com/AlxMedia/magaziner.git
synced 2025-08-27 20:56:23 +08:00
3.1.1
This commit is contained in:
parent
b3f8c93498
commit
0cd8c43f84
6 changed files with 39 additions and 21 deletions
|
@ -3,7 +3,7 @@
|
|||
* An accessible and mobile-friendly implementation for navigation menus.
|
||||
*/
|
||||
|
||||
namespace AlxMedia;
|
||||
namespace Magaziner;
|
||||
|
||||
/**
|
||||
* Object containing all methods and hooks to modify default menus.
|
||||
|
@ -46,7 +46,7 @@ class Nav {
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $handle_prefix = 'alxmedia-nav';
|
||||
protected $handle_prefix = 'magaziner-nav';
|
||||
|
||||
/**
|
||||
* Init.
|
||||
|
@ -56,7 +56,7 @@ class Nav {
|
|||
* @return void
|
||||
*/
|
||||
public function init() {
|
||||
if ( apply_filters( 'alxmedia_disable_nav_mods', false ) ) {
|
||||
if ( apply_filters( 'magaziner_disable_nav_mods', false ) ) {
|
||||
return;
|
||||
}
|
||||
add_filter( 'walker_nav_menu_start_el', [ $this, 'add_nav_sub_menu_buttons' ], 10, 4 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue