[wp-trac] [WordPress Trac] #41235: New load_screen_** action
WordPress Trac
noreply at wordpress.org
Mon Jul 10 00:26:32 UTC 2017
#41235: New load_screen_** action
--------------------------+------------------------------
Reporter: aussieguy123 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by aussieguy123):
@DrewAPicture the idea of the action is to avoid the need for the if
statement (or other logic)
This is similar to how alot of MVW style frameworks work, instead of
using an if statement to detect a page they would use something else (like
a route or action) to hook into the page directly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41235#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list