Skip to content

Instantly share code, notes, and snippets.

@michael-cannon
Created June 21, 2013 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michael-cannon/5833693 to your computer and use it in GitHub Desktop.
Save michael-cannon/5833693 to your computer and use it in GitHub Desktop.
Filter testimonials_widget_columns example
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;
}
@InteractM
Copy link

Throwing errors (because there is no class):

Parse error: syntax error, unexpected 'public' (T_PUBLIC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment