Skip to content

Instantly share code, notes, and snippets.

@donaldG
Last active October 24, 2017 13:14
Show Gist options
  • Save donaldG/9045cc72181411f766fb3194f6319b5c to your computer and use it in GitHub Desktop.
Save donaldG/9045cc72181411f766fb3194f6319b5c to your computer and use it in GitHub Desktop.
change facebook instant articles kicker
<?php
function filter_instant_articles_category_kicker( $category ) {
$category = '';
return $category;
}
add_filter( 'instant_articles_cover_kicker', 'filter_instant_articles_category_kicker', 10, 1 );
//maybe you can do this and return nothing?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment