Make WordPress Core

Opened 4 years ago

Last modified 2 years 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
4 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.


2 years ago
#2

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