4153*4154* @param false|string$return Short-circuit return value. Either falseor a URLstring.4155* @param int$id Post ID,or0for the current post.4156* @param string$context The context for the link. One of 'post'or'query',4157* @param bool$allow_slugs Whether to allow post slugs in the shortlink.4158*/4159$shortlink=apply_filters('pre_get_shortlink',false,$id,$context,$allow_slugs);41604161if(false!==$shortlink){4162return$shortlink;4163}41644165$post_id=0;
History
Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.