Astra_Ext_Blog_Pro_Markup::init_action()
Init action.
Description
Return
(void)
Source
File: addons/blog-pro/classes/class-astra-ext-blog-pro-markup.php
public function init_action() { $this->single_post_add_endpoint(); if ( 'excerpt' === astra_get_option( 'blog-post-content' ) ) { // Excerpt Filter. add_filter( 'excerpt_length', array( $this, 'custom_excerpt_length' ) ); add_filter( 'astra_post_read_more', array( $this, 'read_more_text' ) ); add_filter( 'astra_post_read_more_class', array( $this, 'read_more_class' ) ); } }
Expand full source code Collapse full source code View on Trac