mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 23:08:14 +08:00
14 lines
233 B
PHP
14 lines
233 B
PHP
|
<?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);
|
||
|
}
|
||
|
}
|