Field Templates

File Paths

Tag: ninja_forms_field_template_file_paths

<?php
add_filter( 'ninja_forms_field_template_file_paths', 'my_custom_file_path' );
function my_custom_file_path( $paths ){
$paths[] = dir( __FILE__ );
return $paths;
}

Arguments

  • array $file_paths

Hierarchy

  • ‘plugins/ninja-forms/includes/Templates’
  • ‘{theme_dir}/ninja-forms/templates/’
  • Custom Filtered Paths

Custom Templates

Tag: ninja_forms_output_templates