MyListing Club

Add Tik Tok as a Social Media Link Option

Recommendation

If you care about website performance, saving time, reducing administrative overhead, etc., there is no better solution than WPCodeBox when it comes to adding code to your website.

You are not required to use WPCodeBox, but I highly recommend you do.

Learn why I switched to WPCodeBox to manage code snippets for myself and my clients.

Taxonomy

Instructions

IMPORTANT:

I highly recommend testing code snippets in a staging environment before implementing them on your production website.

  1. Create a new PHP snippet in WPCodeBox.
  2. Copy the snippet below.
  3. Paste the contents into WPCodeBox.
  4. Review any notes that I’ve provided.
  5. Save the snippet.
  6. Enable the snippet.
  7. Test.

Snippet

				
					add_filter( 'mylisting\links-list', function( $links ) {
      
    $links['TikTok'] = [
        'name' => 'TikTok',
        'key' => 'TikTok',
        'icon' => 'fab fa-tiktok',
        'color' => '#128c7e',
    ];
      
    return $links;
} );
				
			

Club Partner Deals

Do More. Spend Less.

MyListing Project Template

Save Time. Save Money.
Stop Fumbling Around.

Join the Community

This post may contain affiliate links in accordance with my affiliate policy.

NEW: MyListing Add-on 🔥

Flipping Boxes Listing Counter