I want to add a PHP str_replace to the add_filter('the_content') function. I believe my problem is that the shortcodes are loading after the str_replace is called. I have a...
Is there a simple, one-line way to get the data of a form as it would be if it was to be submitted in the classic HTML-only way? For...
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7...
I want to ask a question about the multipart/form-data. In the HTTP header, I find that the Content-Type: multipart/form-data; boundary=???. Is the ??? free to be defined by the...
When I call get_search_form(), it outputs: <form class="search-form"> <meta itemprop="target"> <input type="search"> <input type="submit"> </form> But I wanted it to generate with a span inside, like: <form class="search-form"> <meta...
I have seen and been using the following technique for adding php scripts to my plugin for handling custom forms in a wordpress plugin. from the quizzin plugin: $code_pages...
is it possible to sign in with user_email instead of user_login, please ? Thanks. 2 s 2 Here’s how we do it: $user = get_user_by('email', $email); if (wp_check_password($password, $user->user_pass,...
How do I use FormData in wordpress ajax ? I am appending files and strings to formdata. var formdata = new FormData(); formdata.append('name', 'This is Name') $.ajax({ url: 'admin-ajax.php',...
We’re doing some SEO tweaking to a site, and our SEO guru informs us that we need to remove the <h3> tags from the #reply-title element, output from line...
Is wp_nonce_field vulnerable if you know the action name? I am actually adding a hidden field with name = the name of the action name in my form so...