こんにちは、strolower 関数と strtolower + str_replace 関数を次のコードで使用する方法を理解しようとしています -<?php echo get_the_author_meta('custom_field_35', $user->ID); ?>
これは私がこれまでに持っているものですが、機能していません-
<?php
$str = "echo get_the_author_meta('custom_field_35', $user->ID);";
$str = strtolower($str);
echo $str; // Prints mary had a little lamb and she loved it so
?>
<?php $get_the_author_meta('custom_field_36', $user->ID) = strtolower(str_replace(",", "",$get_the_author_meta('custom_field_35', $user->ID))); ?>
get_the_author_meta で strtolower と str_replace を使用するにはどうすればよいですか?