amp_validation_error_source_file_path

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 #

$editor_url_template

Editor URL template.

$source

Source information.



Changelog #

Changelog
Version Description
1.4 Introduced.