Core Function
View Source on Trac ↗ _wp_before_delete_font_face()
_wp_before_delete_font_face( mixed $post_id, mixed $post ) Deletes associated font files when a font face is deleted.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $post_id int | Post ID. Required |
| $post WP_Post | Post object. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
6.5.0
Source File
wp-includes/fonts.php
Advertisement