mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Docs: All sorts of improvements and corrections to function and hook docs.
See #57840 git-svn-id: https://develop.svn.wordpress.org/trunk@55694 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -6139,7 +6139,7 @@ function is_local_attachment( $url ) {
|
||||
*
|
||||
* @param string|array $args Arguments for inserting an attachment.
|
||||
* @param string|false $file Optional. Filename. Default false.
|
||||
* @param int $parent_post_id Optional. Parent post ID. Default 0.
|
||||
* @param int $parent_post_id Optional. Parent post ID or 0 for no parent. Default 0.
|
||||
* @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false.
|
||||
* @param bool $fire_after_hooks Optional. Whether to fire the after insert hooks. Default true.
|
||||
* @return int|WP_Error The attachment ID on success. The value 0 or WP_Error on failure.
|
||||
|
||||
Reference in New Issue
Block a user