for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @since 3.31.2
* @author Naveen Muthusamy <[email protected]>
*/
namespace Wordlift\Vocabulary\Jsonld;
use Wordlift\Vocabulary\Data\Entity_List\Entity_List_Factory;
class Jsonld_Utils {
* @param $term_id
*
* @return array|array[]|mixed
public static function get_matched_entities_for_term( $term_id ) {
$entity = Entity_List_Factory::get_instance( $term_id );
return $entity->get_jsonld_data();
}