apply_filters( 'amp_validation_error_source_file_path',  string|null $editor_url_template,  array $source )

Description #

Filters the file path to be opened in an external editor for a given AMP validation error source.

This is useful to map the file path from inside of a Docker container or VM to the host machine.

Parameters #


(string|null) Editor URL template.


(array) Source information.

Changelog #

Version Description
1.4 Introduced.