Created
June 21, 2013 19:30
-
-
Save michael-cannon/5833693 to your computer and use it in GitHub Desktop.
Filter testimonials_widget_columns example
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
add_filter( 'testimonials_widget_columns', array( &$this, 'columns' ) ); | |
public function columns( $columns ) { | |
$columns['testimonials-widget-read-more-link'] = __( 'Read More Link', 'testimonials-widget-premium' ); | |
return $columns; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Throwing errors (because there is no class):
Parse error: syntax error, unexpected 'public' (T_PUBLIC)