Widgets.php → require_once or functions.php

I have a file in the Wordpress theme folder widgets.php in this paths
inc/widgets.ph9

How do I include this file simply by using →
require_once.php or Is that possible we can do through some functions arrangement like we do for including scripts.

or may be something like this →
$found = locate_template( 'inc/widgets.php', TRUE, TRUE ); as I found here.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.