get_embed_template ( No parameters )

  • (string) Full path to embed template file.
Defined at:


Retrieves an embed template path in the current or parent template.The hierarchy for this template looks like: 1. embed-{post_type}-{post_format}.php 2. embed-{post_type}.php 3. embed.php An example of this is: 1. embed-post-audio.php 2. embed-post.php 3. embed.php The template hierarchy and template path are filterable via the Array and Array dynamic hooks, where `$type` is 'embed'.

Related Functions

get_home_template, get_paged_template, get_template, get_date_template, get_page_template

Top Google Results

User discussions

wpseek mobile