sakura/app/controllers/term-controller.php

17 lines
254 B
PHP
Raw Normal View History

2021-07-09 18:28:29 +08:00
<?php
namespace Sakura\Controllers;
use Sakura\Controllers\BaseController;
/**
* Base controller for WP_Term
*/
class TermController extends BaseController
{
public static function get_terms(int $post_id)
{
return get_terms($post_id);
}
}