I am a web & mobile app developer based in Lahore. I have been developing creative, interactive, usable & successful web apps, web portals, php and Flash action scripting, REST apis, WordPress plugins & themes. In recent years, I have worked on Ionic, Angular and TypeScript for hybrid mobile apps, Flutter & Dart, React & React Native, and Swift native iOS mobile app development.
While development on Xcode using free development account, and if you are using real devices to install and test your apps and not the slow simulators, sooner or later, you are going to see the following error message: The maximum number of apps for free development profiles has been reached. The solution is quite simple…
WordPress will not allow you to use Plus ‘+’ sign for username registration. Anyone trying a + sign in the username, the plus sign (+) was being removed by the function. This issue also came up for my JSON API User Plugin registration endpoint when some people asked how they could use + sign with…
To add English ordinal number suffix after normal number, following php function returns number with proper suffix. e.g. 1st, 2nd, 3rd, 4th, 5th, 6th… For php versions prior to 5.3. use following version. For php 5.3+, using the built in php function and it is even better because works with locale, just provide your locale.
This php masking function will allow first and the last 4 digits for any credit card number. You can also provide the masking letter. Credit card number has to be at least 13 character long. This is how you can call it.
To add description content on your WooCommerce product category anding page, you need to add description and other meta tags in your category using Yoast SEO plugin. The description will be added just below the page title. If you want to move the description under your product list, add following code in your functions.php file…
We have finally released a Documentation WordPress Plugin for API endpoints today after months of testing and development. PI API Documentation is a WordPress Plugin. This Plugin adds Custom Post Type Documentation which enables you to add Documentation for your REST API endpoints. It is super easy to use and add API documentation quickly on your WordPress website. PI…
I recently worked on MemberClicks Membership Management Software Oasis API to integrate it with WordPress so that WordPress website could be used for showing content and training content to members using LMS plugin. MemberClicks offers All-in-one association management software that allows members management, email marketing, events registrations for members, membership renewals, and different level of…
Four new endpoints have been added in the JSON API User Plus plugin for BuddyPress Groups component REST JSON API groups_get_avatar, groups_upload_avatar, groups_get_cover, groups_upload_cover. These endpoints have added missing features for the BuddyPress Groups component via REST API and now Groups endpoints can be used for mobile app to manage avatars and cover. Both Update…
Three new endpoints have been added in the JSON API User Plus plugin for BuddyPress Groups component REST JSON API to get, update and delete groups meta. This would add missing endpoints for the groups meta data management via REST API and mobile app. Both Update and Delete group meta endpoints have admin access check.…
Sometimes we need to add meta tags of google analytics or search console, or even pinterest in header of the WordPress website to prove the ownership of the domain. There are many more such third party services or apps which ask you to add their meta tags to verify website owner. Although there are many…
Two new endpoints have been added in the JSON API User Plus plugin for BuddyPress Groups component REST JSON API to get members and groups bringing the Groups loop and Members loop results in json api for your mobile app integration. Both of these endpoints can be used in variety of ways creatively, depending upon…
WooCommerce includes a widget that allows a list or dropdown of product categories in the sidebar. This widget allows you to list categories and sub categories in the sidebar, with many options, to hide empty categories, only show children of current category and show hierarchy, show product counts. However, one important feature it does…
Publishing and then updating plugins on WordPress.org repository is a bit tricky on Mac. It is easier on Windows using TortoiseSVN svn client, not so on Mac as there is no Tortoise alternative svn client available, but you can use built in Mac terminal to publish and update WordPress plugins in the Plugin Directory. The…
Three new endpoints have been added in the JSON API User Plus plugin for BuddyPress Groups component to allow user to request membership of group, send user invitation to join BP group and oen admin endpoint to send multiple user group joining invite like whatsapp. These are the three new endpoints: groups_send_membership_request groups_invite_user groups_invite_users_admin 1. groups_send_membership_request Create a…
Three new endpoints have been added in the JSON API User Plus plugin for BuddyPress Groups component to check if the user is member, mod or admin of any given BP group. These are the three new endpoints: groups_is_user_admin groups_is_user_mod groups_is_user_member 1. groups_is_user_admin Check whether a user is an admin of a given group.…