mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +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);
|
||
|
}
|
||
|
}
|