From the codex there are a couple of possible filters for you to try:
- get_the_excerpt
- the_excerpt – look at @Mayeenul’s link for usage suggestions
Personally I would try the first one with something like:
function fileterExcerpt($excerpt){
if(has_excerpt()){
$excerpt .= "Some extra text";
}
return $excerpt;
}
add_filter( 'get_the_excerpt', 'filterExcerpt' );
Hope this helps.
Related Posts:
- How Can the_post Be Hooked Like the_content and the_excerpt?
- Update Plugin Without Overwriting Custom Settings
- WordPress adding tags into plugin content
- Proper way to replace the_content only for pages created by custom plugin
- Add hook after content without formatting
- WordPress the_content Filter and GET Parameter
- Can I add content before post content without using the_content filter
- WordPress Add advertising ads befor and after content with periority [closed]
- Uninstall, Activate, Deactivate a plugin: typical features & how-to
- How do you debug plugins?
- How to stop showing admin notice after close button has been clicked
- How to save the values of checkbox to the register setting?
- How to get Login Error messages on a custom template
- Enqueue style inside shortcode but its loaded at the bottom of page (before footer scripts)
- How do I check if my $wpdb->insert() was successful?
- Claim Listing functionality – how to send email to users when their claim has been approved or denied
- Creating a theme option page?
- Add post thumbnail from external image with plugin
- Where is the source code that makes the “all” array grabs filters in the $wp_filter?
- Options page not displayed under Settings menu
- Is it possible to add an action to the currently running action?
- How to include and use custom class files in plugin?
- Action on post publish
- Only execute jQuery function(on document ready) on the page has shortcode from plugin [duplicate]
- Plugin not saving values when placed in a folder within /wp-content/plugins
- How to integrate plugin in WordPress theme
- building plugin and it is displaying above plugins page
- How do I write into a file (css)
- load_theme_textdomain path
- Dynamic CSS Vs Inline Issues in Code any Way around in a WordPress Themes?
- Is license need for free wordpress plugin
- plugin development: problem with functions
- Getting a List of Categories for Use in a Plugin?
- Allow users of my plugin to define their own shortcode rather than use mine?
- Building plugin with changeable custom post type values…advice needed
- How to get all of the activate_plugin action parameters?
- Display update notification messages like ‘What’s New’
- CRUD and Frontend show from a custom table without shortcode
- How can I make 2 plugins that include different versions of a framework to both use the latest version?
- Add Plugin options as subpage to Theme options page
- Image upload and download from front-end
- What can be reason for no plugin-strings available under stable section on translate.wordpress.org?
- correct way to include a library(and its dependent libraries) in wordpress development
- Issue Tracker from pre exsisting table [closed]
- WP_Terms_List_Table Quick Edit not working
- Git Hosting for WordPress SVN Plugin Repository [closed]
- Is there a directory my plugin can write files to that cannot be viewed via the browser/url?
- How to exclude certain files from the plugin editor?
- Stop Plugin from Getting Styles from Other Plugin
- How do I make a secure API call from a shortcode when a button is clicked?
- WordPress REST API Plugin Development – Add Custom Endpoint
- Hook into the rendering of a WordPress Template
- Default taxonomy template in plugin, override in theme
- How to add support for caching plugins for my own plugin?
- Save user total active time after login in wordpress [closed]
- WordPress gtag.js with User ID tracking
- WordPress Site is Broken, Cannot see wp-admin page [closed]
- wp_loaded with static Singleton
- How to remove a CPT Menu from the Root Admin only
- Get post_id on clicking a link in WordPress
- WordPress.org: How to add a plugin for certain countries?
- Calling a save function from a “submit” button
- Wp Debug Enabled True Notices and Warning
- Select Form Element Not Saving from Plugin Options
- My widget won’t update its values when save is clicked
- Can we give Pending as a Role to wp_insert_user?
- How to automatically activate users after registration without activation email?
- Pass PHP variable to javascript
- Table of contents (TOC) plugin is not showing header tag
- Custom page from wp admin area
- Unexpected add action function in WP plugin
- Avada Live is broken on WP
- Make downloadable ebook read online without download option
- Is there any way to sync Facebook Comments and with comments on WordPress website?
- WordPress rewrite rule depend on meta values not ids
- Woocommerce convert simple products to variations
- Problem with wordpress has_action() function
- Offering a freemium plugin (a free version + paid version)
- In woocommerce, is there any way to empty wordpress default mini cart when order placed?
- Block content rendering on the top just below body tag
- WordPress “template_include” Filter Not Working
- Making a Custom Post Type Plugin – keep getting the white screen of death
- Limit Google Ads to particular blog posts
- WordPress not displaying information on post sent from custom admin form
- Communicating to plugins from webserver
- Buddypress Member list not showing admin and mods
- Hook into install email
- Shortcode in a blog post, footer and related products stop working
- Editing a built plugin: How to activate it only on a single post page
- Autoloading a PHP class – working outside, but not inside WordPress plugin
- Using “excerpt_more” filter for a specific post type
- Linking Plugin Files to WP
- Building a simple “settings” plugin to change textstrings on the home page
- Couldn’t find a documentation for a filter API in plugin development
- How to host a WordPress plugin on my own server and provide updates?
- register_activation_hook not working
- Predefine Product Variations for specific custom product type [closed]
- Cannot edit Sidebar in any theme in wordpress
- how to update wordpress plugin programmatically using plugin path
- Testing Plugin – Install plugin dependencies in testing enviroment