AddFunc Head & Footer Code source code
By AddFunc, on WordPress.org since 2014. 20,000+ active installs.
Allows administrators to add code to the and/or footer of an individual post (or page or other content) and/or site-wide. Below is its source code for every one of its 11 releases, what changed in the latest one, and how often it ships.
What changed in 2.5
Released Apr 22, 2026, 3 weeks after 2.4- Fixes page specific fields by removing sanitization. Adds notice to warn users of security resks.
2 files changed since 2.4: 2 modified, 0 added, 0 removed.
- addfunc-head-footer-code.php modified, +3,160 bytes
- readme.txt modified, +30 bytes
Release history
11 releases since September 2015- 2.5 Apr 22, 2026 Fixes page specific fields by removing sanitization. Adds notice to warn users of security resks.
- 2.4 Mar 28, 2026 Fixes vulnerability: (Thanks to Muhammad Yudha – DJ / Wordfence) “Fix CVE-2026-2305: register_meta on init and sanitize meta”
- 2.3 May 29, 2019 Fixes a PHP notice, which appeared on the login dialog when WP_DEBUG was ON. (I think I actually got it this time.)
- 2.2 May 29, 2019 Fixes a PHP notice, which appeared on the login dialog when WP_DEBUG was ON. Edit: not fixed, just a different error.
- 2.1 Dec 11, 2018 Removes the metabox from post types which are not public.