This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
Assuming you create this file in your "lib" directory, add this file into your functions.php like this: | |
require_once get_template_directory() . '/lib/restaurants.php'; | |
**/ | |
if (!class_exists('theme_restaurants')) { |