Class Product
Import van een Groepsproject
Namespace: SIW\WooCommerce\Import
Copyright: 2019 SIW Internationale Vrijwilligersprojecten
Since: 3.0.0
Todo: splitsen t.b.v. onderhoudbaarheid
Located at woocommerce/import/product.php
Copyright: 2019 SIW Internationale Vrijwilligersprojecten
Since: 3.0.0
Todo: splitsen t.b.v. onderhoudbaarheid
Located at woocommerce/import/product.php
Methods summary
public
|
|
public
array
|
#
correct_post_slug( array $data, array $postarr )
Corrigeert slug van product als het ter review staat |
public
boolean
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
array
|
|
protected
string
|
|
protected
string
|
|
protected
array
|
|
protected
array
|
|
protected
array
|
|
protected
WC_Product_Attribute
|
#
create_product_attribute( string $name, array $options, boolean $visible = true )
Creëert product attribute |
protected
array
|
#
create_taxonomy_attribute( string $taxonomy, array $values, boolean $visible = true, boolean $variation = false )
Creëert taxonomy attribute |
protected
string
|
|
protected
string
|
#
get_short_description( )
Geneert de korte (Nederlandse) beschrijving van een project op basis van een template |
protected
array
|
|
protected
string
|
|
protected
|
|
protected
string
|
|
protected
integer
|
|
protected
boolean
|
|
protected
|
|
protected
string
|
|
protected
|
|
protected
boolean
|
Constants summary
string |
REVIEW_STATUS
Post-status van projecten die beoordeeld moeten worden |
#
'pending'
|
Properties summary
protected
stdClass
|
$xml
Ruwe xml-data uit Plato |
|
protected
boolean
|
$is_update
Geeft aan of het een update van een bestaand product is |
#
false
|
protected
WC_Product
|
$product
Project |
|
protected
|
$country
Land van project |
|
protected
|
$languages
Projecttalen |
|
protected
|
$work_types
Soort werk van het project |
|
protected
array
|
$tariffs
Tarieven die van toepassing zijn |
|
protected
array
|
$target_audiences
Doelgroepen |
#
[]
|