Support » Plugin: Getty Images » WP Admin Script Enqueue

  • Our edit team would like to use the plugin on pages outside of new and edited posts. I noticed around line 122 of getty-images.php:

    global $pagenow;
    if( $pagenow != 'post.php' && $pagenow != 'post-new.php' )
    return;

    Would there be any way to utilize a filter to determine a list of acceptable pages that the plugin could be run on? If you felt this was reasonable let me know if there was a way to contribute to the plugin.

    Thanks!

    https://wordpress.org/plugins/getty-images/

  • The topic ‘WP Admin Script Enqueue’ is closed to new replies.