Can’t load a script in my plugin page

WordPress fires admin_enqueue_scripts hook earlier, than add_options_page, where you put your admin_enqueue_scripts. Solution is simple, you need to put your admin_enqueue_scripts hook outside of the add_options_page function callback. function load_wp_media(){ wp_enqueue_media(); wp_enqueue_script( ‘waterStampScript’, plugin_dir_url( __FILE__ ) . ‘js/app.js’, array(‘jquery’)); } add_action( ‘admin_enqueue_scripts’, ‘load_wp_media’ );

Change plugin descriptions

Yes, there is a filter you can use — all_plugins: apply_filters( ‘all_plugins’, array $all_plugins ) Filters the full array of plugins to list in the Plugins list table. And here’s an example which changes the description of the Akismet plugin: add_filter( ‘all_plugins’, ‘my_all_plugins’ ); function my_all_plugins( $all_plugins ) { // the & means we’re modifying … Read more