Tag Info

New answers tagged

0

A useful tool to do this is: WP-CLI - WordPress Command Line Interface. You can list all plugins, activate, deactive, install, uninstall, and/or update one or more plugins using a script. A huge timesaver.


0

You can add themes and plugins to the WordPress wp-content folder. You can also use theme specific default functions and after_switch_theme in your themes so they setup automatically when activated. These functions update theme settings and plugin settings so for example, you could setup a sliders settings. Example: add_action( 'after_switch_theme', ...


0

If you see the code, there is no hook to do that. But you can create your own function and remove the part that you don't need like this function custom_wp_install( $blog_title, $user_name, $user_email, $public, $deprecated = '', $user_password = '', $language = '' ) { if ( !empty( $deprecated ) ) _deprecated_argument( __FUNCTION__, '2.6' ); ...


0

plugin header information file must be at the plugin root with valid header information like: <?php /** * Plugin Name: Name Of The Plugin * Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates * Description: A brief description of the Plugin. * Version: The Plugin's Version Number, e.g.: 1.0 * Author: Name Of The Plugin Author * Author URI: ...



Top 50 recent answers are included