How to Quick Fix Error Another update is currently in progress.

Some times while updating the WordPress core or bulk updating plugins we’ll get a notice: Another update is currently in progress. This notice occurs because WordPress lock the update process if the update process triggers multiple times. The update class uses the method create_lock of the class WP_Upgrader to create a lock. E.g. WP_Upgrader::create_lock( ‘LOCK_NAME’,

Read More »

Get all posts which contain specific shortcode

While working on some project, I was stuck on one issue. The issue was, User was multiple posts and he was use my shortcode on some of them. And I was trying to figure out which are the posts which content have my shortcode. The answer is in my question. To do this I need

Read More »

List of all default Rest API endpoints in WordPress website

In WordPress there are lot of default rest API endpoints which may help you while development. How to access rest API endpoints? #How to access rest API endpoints? You can access rest API endpoints though URLs. E.g. http://wpdigits.com/wp-json/wp/v2/posts Above URL show the list of all posts in the form of JSON. In this example endpoint,

Read More »

Create the post on wordpress.com site using oAuth and Rest API

Working on Rest API and OAuth is very interesting. #Working on Rest API and OAuth is very interesting. WordPress merged Rest API support into the core in WordPress 4.7 “Vaughan” check out the Rest API Merge Proposal. In this post, I’m creating the post on my site https://maheshwaghmare.com/ though rest API and OAuth. Let’s Try it Step by Step #Let’s

Read More »

Git vs SVN commands

We use Git and SVN for managing projects. I personally work on Github, GitLab and BitBucket. I’m more familiar with Git commands. WordPress itself use the SVN for hosting plugins and themes. I have created a WordPress Theme and Plugins. But, I personally not use SVN though command line. I personally use Tortoise SVN for

Read More »

Show all scheduled events OR corn jobs in WordPress

Description #Description By using the funciton wp_get_schedules () to get all the scheduled events OR corn jobs. Note: Use below code snippet for ONLY debugging/development purpose. Code Snippet #Code Snippet Output #Output

Read More »

Get latest stable Plugin or Theme download zip URL from wp.org

Plugin Download URL #Plugin Download URL You can add a download button on your website with the link of latest plugin zip. So, Your users always get the latest zip of your plugin which is hosted on wp.org. Stable plugin download zip URL is: Note: You need to use the plugin slug for {plugin-slug}. How

Read More »

Multisite Support for Site Metadata in WordPress 5.1

Quick Highlights: #Quick Highlights: WordPress multisite introduces a new database table wp_blogmeta to store metadata associated with sites. This allows for the storage of arbitrary site data relevant in a multisite/network context. It provides an alternative to using options and can be retrieved from multiple sites in a more performant way—without calling  switch_to_blog(). Sites can now

Read More »
Scroll to Top
%d bloggers like this: