Example of a tiny plugin for adding WordPress customizations.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function nelio_max_image_size( $file ) { | |
$size = $file['size']; | |
$size = $size / 1024; | |
$type = $file['type']; | |
$is_image = strpos( $type, 'image' ) !== false; | |
$limit = 250; | |
$limit_output = '250kb'; |
Some examples of the things one can do with Vanilla JavaScript. Comparison of Vanilla JS to jQuery and Underscore.js.
Some scripts for automating plugin creation in WordPress.
Bulk Edit example in WordPress.
Nothing relevant.
Introduction to WP-CLI at Nelio Software.
Some examples.
OlderNewer