How to Customize Excerpts for Password...
Optimize your WordPress site! This snippet customizes excerpts for password-protected...

WPCodeBox
684
Optimize your MyListing website’s submit form by easily removing unwanted social link options with this code snippet. Enhance user experience and streamline your form by customizing visible social media connections. Perfect for MyListing site owners looking to clean up their submission process.
<?php
/**
* Author: MyListing Club
* Author URI: https://mylisting.club
*/
add_filter("mylistinglinks-list", function ($links) {
// unset( $links['Facebook'] );
unset($links["Twitter"]);
unset($links["LinkedIn"]);
unset($links["Google+"]);
unset($links["Instagram"]);
unset($links["YouTube"]);
unset($links["Snapchat"]);
unset($links["Tumblr"]);
unset($links["Reddit"]);
unset($links["Pinterest"]);
unset($links["DeviantArt"]);
unset($links["VKontakte"]);
unset($links["SoundCloud"]);
unset($links["Website"]);
unset($links["Other"]);
return $links;
});





