Changes between Initial Version and Version 1 of Ticket #8429, comment 5
- Timestamp:
- 01/27/2021 10:33:35 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8429, comment 5
initial v1 1 1 I don't think this new hook is necessary. If you want to dequeue assets, hook onto `'wp_enqueue_scripts' ` as usual and use the `is_buddypress()` function to determine if the current page is a BuddyPress page, then dequeue anything you do not want loaded. 2 2 3 The proposed hook would still require you to hook onto an action like `'wp_enqueue_ assets'` anyway.3 The proposed hook would still require you to hook onto an action like `'wp_enqueue_scripts'` anyway.