• Resolved tattoofinders

    (@tattoofinders)


    Hi there,

    I have an online directory, and I am using your plugin to export certain data to an excel file.

    Each business listed on my online directory has several links connected to it (Facebook, Instagram, website, etc.) These links are stored in the ‘_links’ field.

    When I export this field, the data in the excel field looks as follows: https://prnt.sc/vuaq88 As you can see, it contains a lot of other information besides the link. I do not want this – I only want a clickable Instagram link.

    The theme developers have helped me, by supplying me with the following PHP code:
    $instagram_link = array_column( unserialize( $links ), ‘url’, ‘network’ )[‘Instagram’];
    Where $links is replaced by the actual field value for the “_links” field.

    MY question is; does this plugin support running exported fields through PHP snippets? If this is possible, how do I do so?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Strip data from export with a PHP snippet’ is closed to new replies.