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 | |
/** | |
* A Hack to generate mock WP Post objects from any arbitrary array | |
* A possible use case is to render a list of taxonomy terms using Oxygen Builder's repeater element, | |
* as the repeater allows only WP_Query as a source of data | |
* | |
* @author: Gagan S Goraya | |
* @link: https://gagangoraya.com | |
* |