首页 WordPress函数大全 clean_object_term_cache()

clean_object_term_cache()

2020-05-01 / 4031阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

clean_object_term_cache( int|array $object_ids, array|string $object_type )

Removes the taxonomy relationship to terms from the cache.

描述

Will remove the entire taxonomy relationship containing term $object_id. The term IDs have to exist within the taxonomy $object_type for the deletion to take place.

See also See also

  • get_object_taxonomies(): for more>

    Top ↑

    参数

    $object_ids

    (int|array)
    (Required)
    Single or list of term object ID(s).

    $object_type

    (array|string)
    (Required)
    The taxonomy object type.

大家谈论
    我的见解