IF STATEMENTS / If an element contains a value
-
Hi dear,
When I have this in function:
function my_contains_function ($element, $value1, $value2, $value3, $value4, $atribut1, $atribut2, $atribut3, $atribut4) { if (stripos($element, $value1) !== false) { return $atribut1; } if (stripos($element, $value2) !== false) { return $atribut2; } if (stripos($element, $value3) !== false) { return $atribut3; } if (stripos($element, $value4) !== false) { return $atribut4; } else { return; } }
How to post those values in wpallimport field. I forget it how? ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘IF STATEMENTS / If an element contains a value’ is closed to new replies.