📜  pmxi_gallery_image - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:17.133000             🧑  作者: Mango

代码示例1
/**
 * @param $post_id int    - The id of the post just created/updated
 * @param $att_id  int    - The attachment id of the image
 * @param $file    string - The local file path to the full size image
 */
function my_gallery_image( $post_id, $att_id, $file ) {


}

add_action( 'pmxi_gallery_image', 'my_gallery_image', 10, 3 );