Skip to content

Commit

Permalink
Merge pull request #279 from humanmade/backport-278-to-v13-branch
Browse files Browse the repository at this point in the history
[Backport v13-branch] Display the social tab in Yoast.
  • Loading branch information
wisyhambolu authored Oct 27, 2022
2 parents 0164da9 + a90d475 commit 9b50f43
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,16 +511,6 @@ function hide_yoast_premium_social_previews() {
display: none;
}';

/**
* Hide the Social tab in the Yoast Metabox.
*
* The Google preview is in the basic SEO tab and social previews
* are only available for Yoast SEO Premium.
*/
$styles .= '.wpseo-metabox-menu .yoast-aria-tabs li:last-of-type {
display:none;
}';

echo "<style>$styles</style>"; // phpcs:ignore HM.Security.EscapeOutput.OutputNotEscaped
}

Expand Down

0 comments on commit 9b50f43

Please sign in to comment.