[wp-trac] [WordPress Trac] #40969: RFE: get_template_part() to return something or warn when nothing found
WordPress Trac
noreply at wordpress.org
Sun Feb 10 11:31:48 UTC 2019
#40969: RFE: get_template_part() to return something or warn when nothing found
-------------------------+-----------------------
Reporter: sphakka | Owner: pento
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.2
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: close | Focuses: template
-------------------------+-----------------------
Comment (by johnbillion):
Another option might be a `has_template_part()` function that can be used
for conditional logic.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40969#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list