Created
October 18, 2019 10:45
-
-
Save patilvikasj/cecb682171e79aa7f8271adc9f47255d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <?php // Do not include this line in your functions.php | |
| add_filter( 'astra_excerpt_type', 'ast_modify_excerpt_type' ); | |
| function ast_modify_excerpt_type( $excerpt_type ) { | |
| $excerpt_type = astra_get_option( 'blog-post-content' ); | |
| return $excerpt_type; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment