WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#53415 new feature request

Filter API to edit footer content

Reported by: codemilitant Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.7.2
Component: Themes Keywords:
Focuses: rest-api, performance Cc:

Description

Just like "the_content", a filter that allows the footer content to be edited in functions.php. When optimizing landing pages, it's easy to dequeue scripts and styles, however, many plugins still add jQuery to the footer of the site even though the script has been deregistered and dequeued. Woocommerce tracking codes and other unnecessary code for a designated landing page cannot be filtered in the footer.

Change History (1)

#1 @SergeyBiryukov
4 months ago

  • Component changed from General to Themes
  • Focuses coding-standards removed
Note: See TracTickets for help on using tickets.