• Resolved niikk

    (@niikk)


    Hello

    Is there a way to modify the dokan profile progress bar?
    We want to skip some social steps for example “Add Facebook to gain 2%”.

    We try this function, but this does not work.

    add_filter( 'dokan_profile_completion_values', function( $progress_values ) {
    $progress_values['banner_val'] = 25;
    	
    	unset( $progress_values['fb'] );
    	unset( $progress_values['gplus'] );
    	unset( $progress_values['twitter'] );
    	unset( $progress_values['youtube'] );
    	unset( $progress_values['linkedin'] );
    	
    return $progress_values;
    } );

    Thanks

Viewing 1 replies (of 1 total)
  • Hello @niikk ,

    You are in the right direction. If you are planning to remove all the social items then you have to unset that like this –

    unset($progress_values['social_val']);

    However, the progress bar is a Pro feature and I will recommend that you please contact through tickets when you have a question related to Pro features. This way we can keep this forum suitable for Dokan Lite only as per the forum rules.

    Thank you ??

Viewing 1 replies (of 1 total)
  • The topic ‘Adjust Dokan profile progress bar’ is closed to new replies.