Title: Calling a validation file.php to the child theme&#039;s function.php
Last modified: August 21, 2016

---

# Calling a validation file.php to the child theme's function.php

 *  [halben](https://wordpress.org/support/users/halben/)
 * (@halben)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/calling-a-validation-filephp-to-the-child-themes-functionphp/)
 * Hi WP-ers,
 * Quick question if anyone can please assist me with.
 * Instead of doing the validation check in the child theme’s function.php, is it
   possible to call the validation file.php into the child’s function.php?
 * If so, would `require(get_stylesheet_directory() . '/include/registration_validate.
   php');` be correct?
 * Thanks,
    Hal

The topic ‘Calling a validation file.php to the child theme's function.php’ is closed
to new replies.

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [require()](https://wordpress.org/support/topic-tag/require/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [halben](https://wordpress.org/support/users/halben/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/calling-a-validation-filephp-to-the-child-themes-functionphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
