Last active
April 24, 2023 07:16
-
-
Save arunbasillal/c61562dce2fd270e36a97184121b986f to your computer and use it in GitHub Desktop.
Custom tag %image_id% for Image Attributes Pro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Custom tag %image_id% for Image Attributes Pro | |
* | |
* @param $image_id (integer) The ID of the image that is being updated. | |
* @param $parent_post_id (integer) The post to which the image is attached (uploaded) to. | |
* @param $args (array) An array containing additional arguments. | |
* | |
* @return (string) ID of the image. | |
* | |
* @refer https://imageattributespro.com/codex/iaffpro_get_custom_attribute_tag_tagname/ | |
*/ | |
function iaffpro_get_custom_attribute_tag_image_id( $image_id, $parent_post_id, $args = array() ) { | |
return $image_id; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment