Skip to content

Instantly share code, notes, and snippets.

@wpflippercode
Created September 27, 2016 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpflippercode/e0853d2797793a7707e5b68314de2694 to your computer and use it in GitHub Desktop.
Save wpflippercode/e0853d2797793a7707e5b68314de2694 to your computer and use it in GitHub Desktop.
Remove icons from post's meta information in wp posts pro plugin.
add_filter('wpp_comments_icon','wpp_comments_icon');
function wpp_comments_icon($icon) {
$icon = '';
return $icon;
}
add_filter('wpp_date_icon','wpp_date_icon');
function wpp_date_icon($icon) {
$icon = '';
return $icon;
}
add_filter('wpp_author_icon','wpp_author_icon');
function wpp_author_icon($icon) {
$icon = '';
return $icon;
}
add_filter('wpp_views_icon','wpp_views_icon');
function wpp_views_icon($icon) {
$icon = '';
return $icon;
}
@wpflippercode
Copy link
Author

You can remove or modify icons used in post's meta information easily. Below are the hooks name for this purpose.

  • wpp_views_icon - Views Icon.
  • wpp_author_icon- Author Icon.
  • wpp_date_icon- Date Icon.
  • wpp_comments_icon - Comments Icon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment