176*177* @param string$slug The slug name for the generic template.178* @param string|null$name The name of the specialized template ornullif179* there is none.180* @param array$args Additional arguments passed to the template.181*/182do_action("get_template_part_{$slug}",$slug,$name,$args);183184$templates=array();185$name=(string)$name;186if(''!==$name){187$templates[]="{$slug}-{$name}.php";188}
History
Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.