0
루프 내에서 함수를 만들려고하고 있으며 함수 이름이 실행될 때마다 변경해야합니다. 여기 wordpress 함수 이름에 변수 사용
작동하는 기능입니다 :add_filter("gform_field_value_eventname", 'populate_event');
function populate_event($value){
return $eventtitle;
을하지만 난 그것을 변수가 함수의 이름에 추가 할 수있는이 같은, 수행해야 할 수
add_filter("gform_field_value_eventname", 'populate_event'.$y);
function populate_event.$y($value){
return $eventtitle;
를하시기 바랍니다 누군가 올바른 방향으로 나를 가리 키십시오.
감사합니다.