Created
August 30, 2016 14:43
-
-
Save rickalday/eb7f2059eb41742e864a1c57a322b44d 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
//Returns the Sell Media Item post title | |
function sell_media_custom_quick_view_text(){ | |
global $post; | |
$title = get_the_title( $post->ID ); | |
return $title; | |
} | |
add_filter( 'sell_media_quick_view_text', 'sell_media_custom_quick_view_text' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment