Changes between Initial Version and Version 1 of Ticket #40292, comment 8
- Timestamp:
- 10/06/2023 01:27:34 PM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #40292, comment 8
initial v1 3 3 {{{#!php 4 4 <?php 5 require_once ABSPATH . 'wp-admin/includes/class-wp-filesystem-base.php'; 6 require_once ABSPATH . 'wp-admin/includes/class-wp-filesystem-direct.php'; 5 7 $filesystem = new WP_Filesystem_Direct( true ); 6 7 // Now use it like this 8 $path = //define path to whatever file 8 9 9 10 $filesystem->get_contents($path)