Changeset 727738
- Timestamp:
- 06/18/2013 04:52:56 AM (13 years ago)
- File:
-
- 1 edited
-
gplus-comments/trunk/includes/lib/hooks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gplus-comments/trunk/includes/lib/hooks.php
r727735 r727738 116 116 117 117 // [bartag foo="foo-value"] 118 function bartag_func( $atts ) {118 function gplus_comments_shortcode( $atts ) { 119 119 extract( shortcode_atts( array( 120 'foo' => 'something', 121 'bar' => 'something else', 120 'width' => '600', 122 121 ), $atts ) ); 123 122 124 return "foo = {$foo}";123 return GPLUS_COMMENTS_TEMPLATES . '/container.php'; 125 124 } 126 add_shortcode( ' bartag', 'bartag_func' );125 add_shortcode( 'commentsplus', 'gplus_comments_shortcode' ); 127 126 128 127
Note: See TracChangeset
for help on using the changeset viewer.