Footnotes & Content 4.4.0 has 4 actions and 29 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Footnotes & Content fires an action
add_action( 'awef_settings_save_button', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Footnotes & Content is about to use
add_filter( 'awef_after_footnotes_markup', function( $footnotes_markup ) {
// Change $footnotes_markup here.
return $footnotes_markup;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Gives the ability to change the footnotes header to something else */ apply_filters( 'awef_after_footnotes_markup', $footnotes_markup ); -
/** * Filters the page marker appended to a paginated archive title. */ apply_filters( 'awef_archive_page_suffix', sprintf( \__( ' - page %d', 'awesome-footnotes' ), $paged ), $paged, $term ); -
/** * Filters the heading and title stem for a post type archive. */ apply_filters( 'awef_archive_post_type_title', (string) $name, (string) self::queried_post_type() ); -
/** * Filters the taxonomies whose archives get a composed title. */ apply_filters( 'awef_archive_taxonomies', self::CORE_TAXONOMIES ); -
/** * Filters the descriptive part of an archive title. */ apply_filters( 'awef_archive_title_stem', $stem, $term ); -
/** * Gives the ability to change the footnotes header to something else */ apply_filters( 'awef_before_footnotes_markup', $footnotes_markup ); -
/** * Gives the ability to change the footnotes header to something else */ apply_filters( 'awef_footnotes_header', $footnotes_header ); -
/** * Filter the primary category term for a post. */ apply_filters( 'awef_primary_category', $result, $post ); -
/** * Apply the content filters - parses the content and adds the extracted * footnotes */ apply_filters( 'awef_process_content_hooks', array( 'the_content', 'get_the_excerpt' ) ); -
/** * Filters whether a stored SEO title should carry the site name. */ apply_filters( 'awef_seo_title_append_site_name', false, $title ); -
/** * Filters the separator placed before the site name. */ apply_filters( 'awef_seo_title_site_separator', ' | ' ); -
/** * Filters the tokens available in SEO titles and descriptions. */ apply_filters( 'awef_seo_tokens', $tokens, $text ); -
/** * Filters the sitemap URL advertised in llms.txt. */ apply_filters( 'awef_sitemap_index_url', $url, $options ); -
/** * Filters the endpoints notified when the sitemap changes. */ apply_filters( 'awef_sitemap_ping_endpoints', array(), $sitemap_url ); -
/** * This filter is documented in wp-includes/sitemaps.php */ apply_filters( 'wp_sitemaps_enabled', true ); -
do_action( "awef_plugin_options_tab_{$tab}" ); -
do_action( 'awef_settings_save_button' ); -
do_action( 'awef_admin_after_head_title', self::$settings['id'] ); -
apply_filters( 'awef_archive_minimum_count', $minimum, $taxonomy ); -
apply_filters( 'awef_archive_seo_title', $new_title, $term, $paged ); -
apply_filters( 'awef_llms_txt_build_valid', true, $options ); -
apply_filters( 'awef_llms_txt_content', self::finish( $content ), $options ); -
apply_filters( 'awef_llms_txt_post_query_args', $args, $post_type, $options ); -
apply_filters( 'awef_sitemap_author_entry', $entry, $author ); -
apply_filters( 'awef_sitemap_index_entries', $sitemaps, $options ); -
do_action( 'awef_sitemap_ping_complete', $sitemap_url ); -
apply_filters( 'awef_sitemap_post_entry', $entry, $post, $post_type ); -
apply_filters( 'awef_sitemap_post_images', $images, $post ); -
apply_filters( 'awef_sitemap_post_query_args', $args, $post_type, $page ); -
apply_filters( 'awef_sitemap_taxonomy_entry', $entry, $term, $taxonomy ); -
apply_filters( 'awef_sitemap_taxonomy_query_args', $args, $taxonomy, $page ); -
apply_filters( 'awef_sitemap_urls', $urls, $type, $page );
Generated from Footnotes & Content's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: