mirror of
				https://github.com/mashirozx/sakura.git
				synced 2025-05-29 01:49:21 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			254 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			254 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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);
 | |
|   }
 | |
| }
 |