podscms

How to find php file or function that generates a wordpress admin page?

戏子无情 提交于 2020-01-06 07:58:15
问题 I want to debug a certain submit action inside a plugin's admin panel. The panel stays inside the dashboard of wordpress. Its url is as follows: http://localhost/wordpress/wp-admin/admin.php?page=pods&action=edit&id=681&do=create The submit action is not specified. Thus it is handled by the same php file that generated the above page. <form action="" method="post" class="pods-submittable"> How can I find out the php file that generated the above page? 回答1: If you are talking about https:/

How to change date and time format in Pods Framework's Date and TimePicker Components?

空扰寡人 提交于 2019-12-10 18:48:54
问题 I was fighting with timepicker's default settings. The default settings were overridden somehow. Then, I noticed that they were actually overridden by Pods Framework's code: var pods_form_ui_pods_field_baslangic_tarihi_args = {"timeFormat":"h:mmtt","dateFormat":"mm\/dd\/yy","ampm":true}; I would like to change the default settings of date and time formatting. How can I do that? 回答1: I found the answer. You need to got to the Edit Pod page and enter the date/time field and go to "Additional