| @@ -134,10 +134,10 @@ | ||
| 134 | 134 | $prepend_excerpt = get_option( 'beyondwords_prepend_excerpt' ); |
| 135 | 135 | |
| 136 | 136 | if ( $prepend_excerpt && has_excerpt( $post ) ) { |
| 137 | 137 | $summary = htmlentities( $post->post_excerpt, ENT_QUOTES | ENT_XHTML ); |
| 138 | - // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Applying core WordPress filter | |
| 139 | - $summary = apply_filters( 'get_the_excerpt', $summary ); | |
| 138 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Applying core WordPress filter | |
| 139 | + $summary = apply_filters( 'get_the_excerpt', $summary, $post ); | |
| 140 | 140 | $summary = trim( wpautop( $summary ) ); |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | return $summary; |