Changes between Version 1 and Version 2 of Ticket #50432, comment 2
- Timestamp:
- 06/24/2020 05:10:36 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #50432, comment 2
v1 v2 23 23 This is the snippet looks like : 24 24 {{{ 25 add_filter('set-screen-option', array($this, 'set_screen_option_filter'), 10, 3); // fired before admin_menu hook25 add_filter('set-screen-option', 'set_screen_option_filter', 10, 3); // fired before admin_menu hook 26 26 27 27 function set_screen_option_filter($status, $option, $value) { … … 37 37 return $value; 38 38 } 39 39 40 return $status; 40 41 } // end of function