Docs / Filter Reference / wpdm_user_dashboard_icons

wpdm_user_dashboard_icons

Description


The wpdm_user_dashboard_icons filter allows you to add or modify icons displayed in the user dashboard.

Parameters


One parameter is passed to this hook.

Usage


 

<?php add_filter('wpdm_user_dashboard_icons', 'my_wpdm_dashboard_icons', 10, 1); ?>

Examples



<?php
add_filter('wpdm_user_dashboard_icons', 'my_wpdm_dashboard_icons', 10, 1);

function my_wpdm_dashboard_icons($default_icons) { 
    $default_icons['custom'] = [
        'icon'  => 'fa fa-star',
        'label' => 'Custom'
    ];
    return $default_icons;
}

?>
Last updated on January 26, 2026

Need Help?

Get support from our team or community forum.

Visit Support

Customization

Need custom features? We can help.

Request Quote