get_template_part_ . $slug, $slug, $name, $args

get_template_part_ . $slug, $slug, $name, $args

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('get_template_part_ . $slug, $slug, $name, $args') is found 1 times:

  • /bp-core/bp-core-template-loader.php line 44
    	 * @param string $slug Template part slug requested.
    	 * @param string $name Template part name requested.
    	 * @param array  $args Extra args to pass to locate_template().
    	 */
    	do_action( 'get_template_part_' . $slug, $slug, $name, $args );
    
    	// Setup possible parts.
    	$templates = array();
    	if ( isset( $name ) ) {
    		$templates[] = $slug . '-' . $name . '.php';
    	}