Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
WC_Product
get_featured
WC_Product::get_featured PHP Méthode
WC_Product Class Documentation
Afficher le fichier
Open project: woocommerce/woocommerce
get_featured()
public
méthode
If the product is featured.
Since:
2.7.0
public
get_featured
(
string
$context
= 'view' ) :
boolean
$context
string
Résultat
boolean
public function get_featured($context = 'view') { return $this->get_prop('featured', $context); }
WC_Product
__construct
add_to_cart_text
add_to_cart_url
backorders_allowed
backorders_require_notification
child_has_dimensions
child_has_weight
exists
get_attribute
get_attributes
get_average_rating
get_backorders
get_catalog_visibility
get_category_ids
get_children
get_cross_sell_ids
get_data
get_date_created
get_date_modified
get_date_on_sale_from
get_date_on_sale_to
get_default_attributes
get_description
get_dimensions
get_download_expiry
get_download_limit
get_downloadable
get_downloads
get_featured
get_file
get_file_download_path
get_formatted_name
get_gallery_image_ids
get_height
get_hook_prefix
get_image
get_image_id
get_length
get_manage_stock
get_menu_order
get_name
get_parent_id
get_permalink
get_price
get_price_html
get_purchase_note
get_rating_count
get_rating_counts
get_regular_price
get_review_count
get_reviews_allowed
get_sale_price
get_shipping_class
get_shipping_class_id
get_short_description
get_sku
get_slug
get_sold_individually
get_status
get_stock_managed_by_id
get_stock_quantity
get_stock_status
get_tag_ids
get_tax_class
get_tax_status
get_title
get_total_sales
get_type
get_upsell_ids
get_virtual
get_weight
get_width
has_attributes
has_child
has_dimensions
has_enough_stock
has_file
has_weight
is_downloadable
is_featured
is_in_stock
is_on_backorder
is_on_sale
is_purchasable
is_shipping_taxable
is_sold_individually
is_taxable
is_type
is_virtual
is_visible
managing_stock
needs_shipping
sanitize_term_ids
save
set_attributes
set_average_rating
set_backorders
set_catalog_visibility
set_category_ids
set_cross_sell_ids
set_date_created
set_date_modified
set_date_on_sale_from
set_date_on_sale_to
set_default_attributes
set_description
set_download_expiry
set_download_limit
set_downloadable
set_downloads
set_featured
set_gallery_image_ids
set_height
set_image_id
set_length
set_manage_stock
set_menu_order
set_name
set_parent_id
set_price
set_purchase_note
set_rating_counts
set_regular_price
set_review_count
set_reviews_allowed
set_sale_price
set_shipping_class_id
set_short_description
set_sku
set_slug
set_sold_individually
set_status
set_stock_quantity
set_stock_status
set_tag_ids
set_tax_class
set_tax_status
set_total_sales
set_upsell_ids
set_virtual
set_weight
set_width
single_add_to_cart_text
supports
validate_props