Browsing hooks for feature: Photon


    hook (filter): Provide plugins a way of running Photon for images in the WordPress Dashboard (wp-admin).<p>Note: enabling this will result in Photon URLs added to your post content, which could make migrations across domains (and off Photon) a bit more challenging.</p> View Example

    Source: class.photon.php:471


    hook (filter): Disables Photon URL processing for local development

    Source: functions.photon.php:25


    hook (filter): Filter the multiplier Photon uses to create new srcset items.<p>Return false to short-circuit and bypass auto-generation.</p>

    Source: class.photon.php:731


    hook (filter): Allow Photon to fetch images that are served via HTTPS. View Example

    Source: class.photon.php:869


    hook (filter): Overwrite the results of the validation steps an image goes through before to be considered valid to be used by Photon.

    Source: class.photon.php:903


    hook (filter): Filter the Photon Arguments added to an image when going through Photon, when that image size is a string.<p>Image size will be a string (e.g. "full", "medium") when it is known to WordPress.</p>

    Source: class.photon.php:592


    hook (filter): Filter the Photon Arguments added to an image when going through Photon, when the image size is an array of height and width values.

    Source: class.photon.php:651


    hook (filter): Allow specific images to be skipped by Photon. View Example

    Source: class.photon.php:156


    hook (filter): Filter whether an image using an attachment ID in its class has to be uploaded to the local site to go through Photon.

    Source: class.photon.php:219


    hook (filter): Filter the array of Photon arguments added to an image when it goes through Photon.<p>By default, only includes width and height values.</p>

    Source: class.photon.php:320