6. Backend Hooks

If you even want to make a deeper customization of the admin panel, you can also change some settings and functionalities.

6.2. Add your Custom Animations

If you want to add your custom animations to the options panel in QuadMenu Options, then you can use the following filter.

add_filter('quadmenu_options_animations', 'my_hook_animations');

function my_hook_animations($args = array()) {

$args['custom'] = 'Custom';

return $args;

6.3. Change the LESS files

If has not been enough to integrate QuadMenu with your theme, then you can make a radical change in the style.

As we’ve previously mentioned in the documentation, the QuadMenu style is created dynamically each time the user makes a change in the administration panel. So if you want to radically change the menu style you’ve to modify the LESS files that are used to create it.

To do this, you have to change the LESS files in the compiler. Thus, you can upload files from your theme and make any changes you think necessary.

add_filter('quadmenu_compiler_files', 'my_hook_compiler_files');

    function my_hook_compiler_files($files) {

        $files = array();
        $files[] = get_template_directory() . '/quadmenu-locations.less';
        $files[] = get_template_directory() . '/quadmenu-widgets.less';

        return $files;