His code’s cyclomatic complexity is too high! 👉

His code’s cyclomatic complexity is too high! 👉

The cyclomatic complexity of code is the measurement of how complex the code is; the numbers of linearly independent paths in it. It is one of the metrics for software quality. Cyclomatic Complexity is calculated in numbers. The higher the

My Sublime Experience on Sublime Text! 🌻

My Sublime Experience on Sublime Text! 🌻

Featured Image Credits: “Winter Sublime: HDR (from single RAW) – Nikon D70 with AF-S Nikkor 18-55 mm 1:3.5-5.6 G VR Zoom” by Logos: The Art of Photography is licensed under CC BY-NC-SA 2.0. Sublime (adjective): of very great excellence or

Translating JavaScript strings in the custom block plugin

Translating JavaScript strings in the custom block plugin

Only 71% of sites built in WordPress include the English language. Every plugin is expected to be translation-ready so that the users can translate the strings of the plugin into their preferred language. So, in PHP instead of: We write

How to add a new panel in the WordPress block editor sidebar

How to add a new panel in the WordPress block editor sidebar

Are you looking to add a new panel in the block editor sidebar as shown in the screenshot below? The old style meta box with add_meta_box works fine in the block editor as well. However, since it’s a typical metabox,

src/build folder customization for @wordpress/scripts

src/build folder customization for @wordpress/scripts

By default, when you use @wordpress/scripts dependency to build scripts using: in package.json or if you’re just started with block and following the create a block tutorial, you’ll find it uses @wordpress/scripts. With @wordpress/scripts, the files need to be in

× WhatsApp