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
/** | |
* Modifies the edit post link for 'product' post types. | |
* | |
* Appends a custom query parameter to the edit post link for post type 'product'. | |
* | |
* @param string $link The original edit post link. | |
* @param int $postId The ID of the post. | |
* | |
* @return string Modified or original edit post link. | |
*/ |