| | 12 | * This function is wishful thinking, that one day WordPress will add a filter into the media gallery so we don't need to do ugly jQuery |
| | 13 | * Hacks for Better UI integration : http://core.trac.wordpress.org/ticket/14630 |
| | 14 | * |
| | 15 | */ |
| | 16 | /* |
| | 17 | function wpsc_swap_feature_image_link($args){ |
| | 18 | $title_text = $args['text']; |
| | 19 | if($args['post-type'] == 'wpsc-product'){ |
| | 20 | $title_text = esc_html__('Use as Product Thumbnail'); |
| | 21 | } |
| | 22 | return $title_text; |
| | 23 | } |
| | 24 | add_filter('media_feature_image_text','wpsc_swap_feature_image_link'); |
| | 25 | */ |
| | 26 | |
| | 27 | /** |