src/Filters/Page.php
public function filter_by_template_page( $sizes, $id = 0 ) {
		$template = get_page_template_slug( $id );
		if ( empty( $template ) ) {
			return $sizes;
		}
		$template_name = Formatter::to_filter_format( $template );
		return apply_filters( Formatter::katana_filter( $template_name ), $sizes );
	}
public function filter_by_template_page( $sizes, $id = 0 ) {
		$template = get_page_template_slug( $id );
		if ( empty( $template ) ) {
			return $sizes;
		}
		$template_name = Formatter::to_filter_format( $template );
		return apply_filters( Formatter::katana_filter( $template_name ), $sizes );
	}
public function filter_by_template_page ( $ sizes , $ id = 0 ) { $ template = get_page_template_slug ( $ id ) ; if ( empty ( $ template ) ) { return $ sizes ; } $ template_name = Formatter :: to_filter_format ( $ template ) ; return apply_filters ( Formatter :: katana_filter ( $ template_name ) , $ sizes ) ; }
Filter that allow to change the sizes on pages that uses custom
page templates.

@since 1.1.0

@param array $sizes The images sizes.
@param int   $id The id of the post, page or custom post type.
@return return the array with the new sizes.
Filter that allow to change the sizes on pages that uses custom page templates .