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