Function Reference

sfw_create_printtype

sfw_create_printtype

Description

Create a Term for an PrintType

Since: 1.0.0

For further information see: related to wp_insert_term for customization Hooks

Code

<?php function sfw_create_printtype( $printtype_id ){ 
	 … 
 } ?>

Parameter

$printtype_id
- a Spreadshirt PrintType Id

Return

(Object) of type WP_Error or $term on success

File

core/components/printtype/functions-printtype-sync.php
  • Search the docs

  • Recent Posts

    • PHP Proxy & Rest API
    • About the Javascript API
    • Templates & Theming
    • Typical Page Load
    • Script & Styles
    • Troubleshooting
    • About Synchronization
    • Datatypes & Entities
Apparel Commerce with by Oh!Fuchs

Privacy Policy · Legal Notice

  • Home
  • Main Site
  • Forum
Go Back
  • Home
  • Main Site
  • Forum

This site uses cookies to deliver our services and to analyze traffic. Details can be found in our Privacy Policy. There you have the possibility to disable the use of cookies depending on the purpose. By using our site, you acknowledge that you have read and understand our Privacy Policy.

OK Legal Notice

Bitte aktiviere Javascript um diese Website ohne Einschränkungen zu verwenden.