Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness. github.com/phan/phan
composer require --dev phan/phan
note: php-ast is necessary (sudo apt install php-ast
)
<?php | |
/** | |
* Plugin Name: Set featured image | |
* Plugin URI: http://wpengineer.com/2460/set-wordpress-featured-image-automatically/ | |
* Description: Set featureed image automaticly on save post/page | |
* Version: 1.0.1 | |
* Author: Frank Bültge | |
* Author URI: http://bueltge.de | |
* License: GPLv3 | |
*/ |
Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness. github.com/phan/phan
composer require --dev phan/phan
note: php-ast is necessary (sudo apt install php-ast
)
<?php | |
/** | |
* Plugin Name: Use AddQuicktag on my CPT | |
* Plugin URI: http://bueltge.de/ | |
* Description: Add custom post type 'my_custom_post_type' to AddQuicktag plugin | |
* Author: Frank Bültge | |
* Version: 0.0.1 | |
* Licence: GPLv3 | |
* Author URI: http://bueltge.de | |
*/ |
<?php # -*- coding: utf-8 -*- | |
declare( strict_types = 1 ); | |
/** | |
* Plugin Name: Port Switch | |
* Plugin URI: https://gist.github.com/bueltge/51013ab809f5f0f5e305c70c2d393fff | |
* Description: Port switch to get an workaround to use WordPress Multisite also without the default port 80. | |
* Version: dev | |
* Author: Frank Bültge | |
* Author URI: https://bueltge.de | |
* License: MIT |
<?php | |
/** | |
* Plugin Name: Add Blog and User ID on Network | |
* Plugin URI: http://wpengineer.com/2188/view-blog-id-in-wordpress-multisite/ | |
* Description: View Blog and User ID in WordPress Multisite | |
* Version: 1.0.0 | |
* Author: Frank Bültge | |
* Author URI: http://bueltge.de | |
* License: GPLv3 | |
*/ |
<?php | |
/* | |
Plugin Name: Reminder Emails | |
Plugin URI: http://www.christopherguitar.net/ | |
Description: Sends a reminder email if you haven't posted in seven days. | |
Version: n/a | |
Author: Christopher Davis | |
Author URI: http://www.christopherguitar.net | |
License: GPL2, Creative Commons | |
*/ |
<?php | |
/** | |
* Plugin Name: Restrict mime types | |
* Plugin URI: http://wpengineer.com/?p=2369 | |
* Description: Restrict list of allowed mime types and file extensions. | |
* Version: 1.0.0 | |
* License: GPLv3 | |
* Author: Frank Bültge | |
* Author URI: http://bueltge.de/ | |
*/ |
<?php | |
/** | |
* Plugin Name: WPSE71248 Delete Revions on Publish Posts | |
* Plugin URI: http://wordpress.stackexchange.com/questions/71248/ | |
* Description: | |
* Version: 1.0.0 | |
* Author: Frank Bültge | |
* Author URI: http://bueltge.de | |
* License: GPLv3 | |
*/ |
<?php | |
/** | |
* Plugin Name: Adsense after more-Tag | |
* Description: Add content of var $extra_more after more-Tag | |
* Version: 0.0.1 | |
* Author: Frank Bültge | |
* Author URI: http://bueltge.de/ | |
*/ | |
! defined( 'ABSPATH' ) and exit; |