Title: wp_print_footer_scripts not loading my action function
Last modified: August 20, 2016

---

# wp_print_footer_scripts not loading my action function

 *  [Upstreet Media](https://wordpress.org/support/users/phxvyper/)
 * (@phxvyper)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/wp_print_footer_scripts-not-loading-my-action-function/)
 * Hello,
 * using 3.3. I have a class and in my __construct() method, I have the add_action(
   shown below). The function I have added is not getting executed, though. This
   is for a plugin and this is to do some custom stuff in the admin.
 *     ```
       class myclass {
           function __construct() {
               ...
   
               add_action('wp_print_footer_scripts', array(&$this, 'FeFiction_OverWrite_Post_Edit_Meta_Boxes'),20);
               ...
           }
   
           function FeFiction_OverWrite_Post_Edit_Meta_Boxes()
           {
               global $post,$wp,$wpdb;
               ...
               do some stuff, print some stuff
               ...
           }
       }
       ```
   

The topic ‘wp_print_footer_scripts not loading my action function’ is closed to 
new replies.

## Tags

 * [add_action](https://wordpress.org/support/topic-tag/add_action/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Upstreet Media](https://wordpress.org/support/users/phxvyper/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/wp_print_footer_scripts-not-loading-my-action-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
