下面是使用pre-upload-ui
和post-upload-ui
挂钩:
add_action( \'pre-upload-ui\', function() {
?><h4>
<?php esc_html_e( \'Please Remember This And That! (pre-upload-ui)\', \'wpse\' );?>
</h4>
<?php
});
add_action( \'post-upload-ui\', function() {
?><h4>
<?php esc_html_e( \'Please Remember This And That! (post-upload-ui)\', \'wpse\' );?>
</h4>
<?php
});
您可能需要进一步调整此选项,以遵循管理UI样式
这将显示为:

和
