term will not use using super class insert
This commit is contained in:
parent
31791f7aab
commit
d655d54900
|
@ -5,6 +5,7 @@ namespace Tainacan\Entities;
|
|||
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
||||
|
||||
class Term extends Entity {
|
||||
protected static $post_type = false;
|
||||
function __construct($which = 0, $taxonomy = '' ) {
|
||||
|
||||
$this->repository = 'Tainacan_Terms';
|
||||
|
|
|
@ -9,7 +9,8 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|||
* Class Tainacan_Terms
|
||||
*/
|
||||
class Terms extends Repository {
|
||||
|
||||
|
||||
protected $entities_type = '\Tainacan\Entities\Term';
|
||||
public function get_map() {
|
||||
return [
|
||||
'term_id' => [
|
||||
|
|
Loading…
Reference in New Issue