Created
June 13, 2017 18:39
-
-
Save spencerfinnell/4ff80fe364402281560a1f98e028c7b1 to your computer and use it in GitHub Desktop.
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
function no_photon_by_page() { | |
if ( is_page( get_option( 'job_manager_submit_job_form_page_id' ) ) ) { | |
add_filter( 'jetpack_photon_skip_image', '__return_true'); | |
} | |
} | |
add_action('wp', 'no_photon_by_page'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment