sfw_cache_id_relation
Description
Set an ID relation
Since: 1.0.0
Code
<?php function sfw_cache_id_relation( $wp_type, $wp_id, $spreadshirt_id, $meta_key ){
…
} ?>
Parameter
- $wp_type
- (string) A key identifying the wordpress type. can be post, term, custom post type or taxonomy
- $wp_id
- (int) A WordPress post or term id
- $spreadshirt_id
- (string) A Spreadshirt Id
- $meta_key
- (string) the metakey storing the id