[wp-trac] [WordPress Trac] #35567: New argument is_embedable for
WordPress Trac
noreply at wordpress.org
Thu Jan 21 20:47:32 UTC 2016
#35567: New argument is_embedable for
----------------------------+-----------------------------
Reporter: pampfelimetten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.4.1
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
I really love the new oembed functions!
But as much as I love the feature, it would be awesome to have an argument
in the register_post_type function to choose, if the posttype should be
embedable or not. I have no problem with it to be true by default, but I
just would love to deactivate it for certain post types which are not that
publicly used.
There are already arguments like "publicly_queryable" or "has_archive', so
this doesn't seem off.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35567>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list