sakura/app/controllers/category-controller.php

14 lines
233 B
PHP
Raw Normal View History

2021-07-09 18:28:29 +08:00
<?php
namespace Sakura\Controllers;
use Sakura\Controllers\TermController;
class CategoryController extends TermController
{
public static function get_the_category(int $post_id)
{
return get_the_category($post_id);
}
}