mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-26 14:27:40 +08:00
Change AlxMedia to Splits (where Split didn't work before)
This commit is contained in:
parent
7f892aacf5
commit
77437c695e
4 changed files with 9 additions and 9 deletions
|
@ -3,7 +3,7 @@
|
|||
* An accessible and mobile-friendly implementation for navigation menus.
|
||||
*/
|
||||
|
||||
namespace AlxMedia;
|
||||
namespace Splits;
|
||||
|
||||
/**
|
||||
* 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 = 'splits-nav';
|
||||
|
||||
/**
|
||||
* Init.
|
||||
|
@ -56,7 +56,7 @@ class Nav {
|
|||
* @return void
|
||||
*/
|
||||
public function init() {
|
||||
if ( apply_filters( 'alxmedia_disable_nav_mods', false ) ) {
|
||||
if ( apply_filters( 'splits_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