Quote:
Originally Posted by magneto664
I try to overwrite custom_fields with gender
Code:
if ($post['custom_fields']['gender'] == 's') {
$post['custom_fields']['gender_rewrite'] = 'Shemale';
}
Is my way is ok?
|
No, it's not. It must be done like this:
Code:
if ($post['custom_fields']['gender'] == 's') {
$post['custom_fields']['gender'] = 'Shemale';
}