ap_get_template_part( string $file, array|false $args = false )
Description #
Include template php files.
Parameters #
- $filestring (Required) File name without extension.
- $argsarray | false (Optional) Arguments to be passed. Default value: false
Source #
File: includes/theme.php
function ap_get_template_part( $file, $args = false ) { if ( false !== $args ) { extract( $args ); // phpcs:ignore WordPress.PHP.DontExtract.extract_extract } include ap_get_theme_location( $file . '.php' ); }
Expand full source code Collapse full source code View on GitHub: includes/theme.php:584
Add your comment