4161*4162* @param false|string$return Short-circuit return value. Either falseor a URLstring.4163* @param int$id Post ID,or0for the current post.4164* @param string$context The context for the link. One of 'post'or'query',4165* @param bool$allow_slugs Whether to allow post slugs in the shortlink.4166*/4167$shortlink=apply_filters('pre_get_shortlink',false,$id,$context,$allow_slugs);41684169if(false!==$shortlink){4170return$shortlink;4171}41724173$post_id=0;
History
Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.