Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Include requested template file
- * checks first in child, then in parent, then in framework - includes in that order.
- * warns only admin if template part not found
- *
- * @include string Include file with local path i.e. "snippets/loop-nothing.php"
- * @setting_title string Title of Setting option - optional ##
- * @setting boolean Setting option constant - optional ##
- * @uses ftf_get_option()
- * @uses ftf_template_warning()
- * @since 0.1
- */
- if ( !function_exists( 'ftf_get_template_part' ) ) {
- function ftf_get_template_part( $include, $setting_title = '', $setting = true ){
- ...
- // if no template is found or setting inactive, issue a warning ##
- ftf_template_warning( $include, $setting_title, $setting );
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement