Last active
March 22, 2021 11:01
-
-
Save alanef/a69558ec98773810f5897824f799faa6 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 | |
| /** | |
| * Plugin Name: Custom Exceprt Filter | |
| * Description: Custom Excerpt Filter for Display Eventbrite | |
| * Version: 1.0 | |
| */ | |
| // just a check to make sure no hacker tries this file | |
| if ( ! defined('ABSPATH') ) { | |
| die(); | |
| } | |
| add_filter( 'eawp_excerpt', function($content) { | |
| return the_content(); | |
| }, 10,1); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment