IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
210 | 210 | } |
211 | 211 | |
212 | 212 | /** |
| 213 | * Display the Post Name |
| 214 | * |
| 215 | * @since 4.4.0 |
| 216 | * |
| 217 | * @param int $id Optional. Post ID. |
| 218 | */ |
| 219 | |
| 220 | function the_slug( $id = 0 ) { |
| 221 | echo get_the_slug( $id ); |
| 222 | } |
| 223 | |
| 224 | /** |
| 225 | * Retrieve the Post Name |
| 226 | * |
| 227 | * @since 4.4.0 |
| 228 | * |
| 229 | * @param int $id Optional. Post ID. |
| 230 | * |
| 231 | * @return string |
| 232 | */ |
| 233 | function get_the_slug( $id = 0 ) { |
| 234 | return apply_filters( 'get_the_slug', get_post_field( 'post_name', $id ) ); |
| 235 | } |
| 236 | |
| 237 | /** |
213 | 238 | * Display the post content. |
214 | 239 | * |
215 | 240 | * @since 0.71 |