Make WordPress Core

Opened 3 years ago

Last modified 19 months ago

#53415 new feature request

Filter API to edit footer content

Reported by: codemilitant's profile codemilitant Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.7.2
Component: Themes Keywords: has-patch
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 (2)

#1 @SergeyBiryukov
3 years ago

  • Component changed from General to Themes
  • Focuses coding-standards removed

This ticket was mentioned in PR #3380 on WordPress/wordpress-develop by jeawhanlee.


19 months ago
#2

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.