芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/elementor-extras/modules/image/module.php
post_excerpt; } $data = []; if ( $attachment->post_title ) { if ( is_array( $types ) ) { if ( in_array( 'title', $types ) ) { $data['title'] = $attachment->post_title; } } elseif ( 'title' === $types ) { return $attachment->post_title; } } if ( $attachment->post_excerpt ) { if ( is_array( $types ) ) { if ( in_array( 'caption', $types ) ) { $data['caption'] = $attachment->post_excerpt; } } elseif ( 'caption' === $types ) { return $attachment->post_excerpt; } } if ( $attachment->post_content ) { if ( is_array( $types ) ) { if ( in_array( 'description', $types ) ) { $data['description'] = $attachment->post_content; } } elseif ( 'description' === $types ) { return $attachment->post_content; } } if ( ! $data ) { return ''; } return $data; } public static function render_image_title( $title ) { ?>