[wp-trac] [WordPress Trac] #58799: Need to add filter to register a template in [NEW] WordPress site editor through a plugin
WordPress Trac
noreply at wordpress.org
Fri Mar 1 10:06:44 UTC 2024
#58799: Need to add filter to register a template in [NEW] WordPress site editor
through a plugin
-------------------------+------------------------------
Reporter: saadiqbal | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.2.2
Severity: blocker | Resolution:
Keywords: has-patch | Focuses: template
-------------------------+------------------------------
Comment (by itscript0):
Instead of modifying core files, a recommended approach is to use action
and filter hooks provided by WordPress to achieve your goal. Based on the
information you provided, it looks like you are trying to make the custom
template file visible from your plugin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58799#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list