do_action과 add_action은 어떻게 작동합니까? do_action과 add_action이 정확히 어떻게 작동하는지 찾고 있습니다.이미 add_action으로 검토했지만 do_action은 새로 시도하고 있습니다.이게 내가 시도했던 거야 function mainplugin_test() { $regularprice = 50; if(class_exists('rs_dynamic')) { $regularprice = 100; } // and doing further //like i echoing the regular price echo $regularprice; //It print 100 from this code } 이제 메인 파일에 코드를 거의 넣지 않고 do_action을 생성하여 코드 혼란 문..