Skip to:
Content
Pages
Categories
Search
Top
Bottom

Export data or gdpr related problem


  • iamdev
    Participant

    @iamdev

    Is there a way we could hide the plugin name from the export setting showing like export data of wordpress comment and evrything it shows i just want to hide it and simply show export data and i don’t want plugin name appearing in it i simply want how @buddyboss gdpr plugin have

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp
    Moderator

    @shanebp

    You should follow this ticket.


    gingerbooch
    Participant

    @gingerbooch

    Hi @iamdev,

    You can put that code into your theme/functions.php :

    function change_export_plugins_names( $export , $name ) {
     $name = str_replace( 
    			Array( 	'Value_1_before',
    				'Value_2_before',
    				'Value_3_before'	),
    			Array( 	'Value_1_after',
    				'Value_2_after',
    				'Value_3_after'	),
    			$export );
        return $name;
    }
    add_filter( 'bp_settings_data_exporter_name', 'change_export_plugins_names', 10, 2);

    If Value_#_before contains accents, replace : $export with utf8_decode($export).

    This works for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar