- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
「関数リファレンス/is object in taxonomy」の版間の差分
提供: WordPress Codex 日本語版
< 関数リファレンス
(en:Function Reference/is object in taxonomy 22:37, 20 May 2012 Scriptrunner) |
(翻訳の準備のみ。) |
||
1行目: | 1行目: | ||
+ | {{NeedTrans}} | ||
+ | |||
== Description == | == Description == | ||
Determine if the given object type is associated with the given taxonomy. | Determine if the given object type is associated with the given taxonomy. | ||
− | |||
== Usage == | == Usage == | ||
− | + | <pre> | |
+ | <?php is_object_in_taxonomy($object_type, $taxonomy); ?> | ||
+ | </pre> | ||
== Parameters == | == Parameters == | ||
26行目: | 29行目: | ||
<code>is_object_in_taxonomy()</code> is located in {{Trac|wp-includes/taxonomy.php}}. | <code>is_object_in_taxonomy()</code> is located in {{Trac|wp-includes/taxonomy.php}}. | ||
− | [[Category: | + | {{DEFAULTSORT:Is_object_in_taxonomy}} |
+ | [[Category:関数]] | ||
+ | [[Category:タクソノミー]] | ||
+ | |||
+ | [[en:Function Reference/is object in taxonomy]] |
2014年7月6日 (日) 00:56時点における版
このページ「関数リファレンス/is object in taxonomy」は未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています。
Description
Determine if the given object type is associated with the given taxonomy.
Usage
<?php is_object_in_taxonomy($object_type, $taxonomy); ?>
Parameters
- $object_type
- (string) (必須) Object type string
- 初期値: なし
- $taxonomy
- (string) (必須) Single taxonomy name
- 初期値: なし
Return Values
- (bool)
- True if object is associated with the taxonomy, otherwise false.
Change Log
- Since: 3.0
Source File
is_object_in_taxonomy()
is located in wp-includes/taxonomy.php
.