Skip to content

Commit

Permalink
Change jetpack publicize default text
Browse files Browse the repository at this point in the history
  • Loading branch information
fumikito committed Jan 4, 2017
1 parent f7b354d commit a16e894
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hooks/override.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
* @package capitalp
*/

// Remove excerpt link
// Remove excerpt link.
add_action( 'after_setup_theme', function(){
remove_filter( 'excerpt_more', 'twentyseventeen_excerpt_more' );
} );

// Customize publicize.
add_filter( 'wpas_default_suffix', function( $suffix ){
$suffix .= ' #capitalp ';
return $suffix;
}, 10, 4 );

0 comments on commit a16e894

Please sign in to comment.