Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#53415 new feature request

Filter API to edit footer content

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

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
5 years ago

  • Component General → Themes
  • Focuses coding-standards removed

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


4 years ago
#2

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