lalitjalandhar
Forum Replies Created
-
Yes, that was due to a plugin conflict. Thanks!
Forum: Plugins
In reply to: [AppMySite - Create an app with the Best Mobile App Builder] home pageYou can now do this with the help of the bottom menu. Go to App Settings->Bottom Menu -> Enable one of the items, set it as default, and select its type as Web-View.
Forum: Plugins
In reply to: [AppMySite - Create an app with the Best Mobile App Builder] home pageLogin to your appmysite account, just go to Appearance->Home Screen, there you have an item type Web-View which you can use to make your WordPress home page as the app’s home page. Just disable all other items except Web-View.
Forum: Fixing WordPress
In reply to: Application Passwords Section missing under User->ProfileWere you using wordfence before ? What made it disappears ? Also make sure HTTPS/SSL are not expired.
Forum: Plugins
In reply to: [AppMySite - Create an app with the Best Mobile App Builder] Shipping errorDo you perhaps use a third-party shipping plugin? As of now they only support table-rate plugin by Woocommere.
Forum: Fixing WordPress
In reply to: Application Passwords Section missing under User->ProfileHi @bedas ! Yes, it was Wordfence.
If you toggle the Wordfence > All Options > Disable WordPress application passwords checkbox and hit SAVE, you will see the feature appear/disappear on the profile page. Thank you for your help.- This reply was modified 3 years, 10 months ago by lalitjalandhar.
Forum: Fixing WordPress
In reply to: WP REST API Custom POST Endpoint Not Working, 404 errorYes, make sure you’re using args(), WP_REST_SERVER::CREATABLE and https://www.xyz.com while calling API instead of https://xyz.com
Forum: Fixing WordPress
In reply to: WP REST API Custom POST Endpoint Not Working, 404 errorHi! I’m also facing the same issue. Just to add ups, the same post request work for one website and the same post request gives 404 rest_no_route for another website. I faced this problem for 3 websites and for the rest 500+ websites it is working fine.
So the problem is only with POST routes. I even used “args” but it didn’t help out.` add_action( ‘rest_api_init’, function () {
register_rest_route( ‘wc/v3’, ‘/my-route’, array(
‘methods’ => ‘POST’,
‘callback’ => ‘my_action’,
) );
} );function my_action(WP_REST_Request $request) {
$req = $request->get_json_params();
//my Code
return rest_ensure_response($req);}
Actually, it depends. If they are providing a native app with some code in it then the chances are very less, but if it contains only web views than it might get rejected.