• Resolved iceninexp

    (@iceninexp)


    What’s the correct action to use to add actual content to the dashboard the user sees when they successfully login ?

    I’m not talking about tml_dashboard_links…I want to display a notification on the dashboard page.

    Many Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    You would use the tml_shortcode filter:

    
    function filter_tml_shortcode( $content, $action, $atts ) {
        if ( 'dashboard' == $action ) {
            $content = 'Your new content here ' . $content;
        }
        return $content;
    }
    add_filter( 'tml_shortcode', 'filter_tml_shortcode', 10, 3 );
    
    Thread Starter iceninexp

    (@iceninexp)

    Jeff, thanks so much for your, as always, stellar support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding content to the user dashboard.’ is closed to new replies.