Created
February 21, 2017 22:36
-
-
Save brandondove/19e7cabd26bfaff63b29f810fb7f2925 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Adds a "thumbnail" column to the AdSanity post list in the WordPress Dashboard. | |
*/ | |
function example_adsanity_ads_posts_columns( $columns = array() ) { | |
$columns['thumbnail'] = __( 'Thumbnail', 'example' ); | |
return $columns; | |
} | |
add_filter( 'adsanity_ads_posts_columns', 'example_adsanity_ads_posts_columns' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment