Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 555 Bytes

File metadata and controls

21 lines (14 loc) · 555 Bytes

Action Hooks

TOC

plugin_skeleton_d/get_template_part_$slug

Fires when a template part is requested.

do_action( 'plugin_skeleton_d/get_template_part_' . $slug, string $slug, ?string $name, array $args );

Parameters

  • $slug (string): Template slug.
  • $name (string|null): Optional. Template variation name.
  • $args (array<string, mixed>): Optional. Data to pass to the template.