Skip to content

Instantly share code, notes, and snippets.

View damienvancouver's full-sized avatar

Damien Norris damienvancouver

  • North Vancouver, BC
View GitHub Profile
@damienvancouver
damienvancouver / yoast_seo_admin_user_remove_social.php
Last active December 8, 2021 18:24 — forked from amboutwe/yoast_seo_admin_user_remove_social.php
Remove Yoast SEO Social Profiles From All Users
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/* Remove Yoast SEO Social Profiles From All Users
* Credit: Yoast Developers
* Last Tested: Dec 8th, 2021 using Yoast SEO Premium 17.6 on WordPress 5.8.2
*/
add_filter('user_contactmethods', 'yoast_seo_admin_user_remove_social', 99);