Getting curl to output HTTP status code?

A more specific way to print out just the HTTP status code is something along the lines of: Command: curl

Read More »

mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files

While I have started the XAMPP after a long break up to 1/2 months and I got the error ‘mysqld.exe:

Read More »

Developers and their plugins must not do anything illegal, dishonest, or morally offensive

While this is subjective and rather broad, the intent is to prevent plugins, developers, and companies from abusing the freedoms

Read More »

Create a simple shortcode in WordPress

Use code snippet to create a simple WordPress shortcode. I have created a sample shortcode prefix-portfolio with 2 attributes. Before use

Read More »

Debug WordPress hook sequence

Debug WordPress hook sequence How it works? Add query parameter debug in URL e.g. https://<mysite>/?debug. It’ll show the list of

Read More »

Register or Enqueue Google fonts in WordPress Theme

A valid way to register the Google fonts in the theme or plugin.

Read More »

Individual site upload limit notice

Show individual site upload limit notice on media page WordPress (Only for Multisite) Eg. Snippet

Read More »

Add post meta in post (custom post type) endpoint with Rest API

Add post meta in post (custom post type) endpoint with Rest API. Todo: #Todo: Change post-type with your post type

Read More »

Check logged in user role in WordPress

Check logged in user role. Use function  wp_get_current_user() to get the current/logged in user info. Usage: var_dump( prefix_user_has_role( ‘administrator’ )

Read More »

Get logged in user roles in WordPress

Get logged in user assigned roles. Use function  wp_get_current_user() to get the current/logged in user info. Output: #Output: print_r( prefix_get_current_user_roles()

Read More »
Bhari WordPress Theme for the bloggers.

Bhari WordPress theme for the bloggers

Created ‘Bhari‘ (भारी) WordPress theme for the bloggers, Who love to write articles, share awesome stuff etc. and which is

Read More »

Introducing Astra fastest, fully customizable & beautiful WordPress theme

Hey Guys, Just wanted to let you know that Astra fastest, fully customizable & beautiful WordPress theme. Download: Click to Download

Read More »

How to release product versions tags on Github?

# View Tags $ git tag v0.1 v1.3 # Create a tag for product version release. $ git tag # Push

Read More »

WordPress Sensitization & Escaping Quick Examples

What is Sensitization? #What is Sensitization? Get secure user inputs. What is Escaping? #What is Escaping? Print / echo the

Read More »

WordPress Translation Ready Reference Guide

Quick Reference: #Quick Reference: e is for echo x is for context n is for plurals # Translate Strings: ##

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