Server IP : 149.255.58.128 / Your IP : 216.73.216.148
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /home/wheelch2/mobilityscooterramsgate.co.uk//wp-links-opml.php
<?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>
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | May 20 2025 13:25:54 | 1032 / wheelch2 | 0711 | |
.well-known | -- | May 21 2025 00:30:58 | 1032 / wheelch2 | 0755 | |
.wp-cli | -- | May 21 2025 00:30:58 | 1032 / wheelch2 | 0755 | |
337746 | -- | May 22 2025 19:27:25 | 1032 / wheelch2 | 0755 | |
images | -- | May 21 2025 00:30:58 | 1032 / wheelch2 | 0755 | |
wp-admin | -- | May 20 2025 06:12:06 | 1032 / wheelch2 | 0755 | |
wp-backup | -- | May 20 2025 17:34:12 | 1032 / wheelch2 | 0755 | |
wp-content | -- | May 21 2025 20:51:41 | 1032 / wheelch2 | 0755 | |
wp-includes | -- | May 21 2025 00:30:58 | 1032 / wheelch2 | 0755 | |
| | | | | |
.htaccess | 2.252 KB | May 21 2025 21:42:20 | 1032 / wheelch2 | 0444 | |
error_log | 0.805 KB | May 23 2025 03:27:24 | 1032 / wheelch2 | 0644 | |
index.php | 20.797 KB | May 21 2025 00:30:03 | 1032 / wheelch2 | 0444 | |
inputs.php | 5.724 KB | May 20 2025 06:12:06 | 1032 / wheelch2 | 0444 | |
license.txt | 19.437 KB | May 01 2025 03:29:11 | 1032 / wheelch2 | 0644 | |
readme.html | 7.251 KB | May 01 2025 03:29:11 | 1032 / wheelch2 | 0644 | |
robots.txt | 0.106 KB | May 21 2025 00:30:06 | 1032 / wheelch2 | 0644 | |
wp-activate.php | 7.214 KB | February 13 2024 14:19:09 | 1032 / wheelch2 | 0644 | |
wp-blog-header.php | 0.486 KB | May 21 2025 00:30:03 | 1032 / wheelch2 | 0444 | |
wp-comments-post.php | 2.269 KB | June 14 2023 14:11:16 | 1032 / wheelch2 | 0644 | |
wp-config-sample.php | 3.258 KB | November 13 2024 04:32:14 | 1032 / wheelch2 | 0644 | |
wp-config.php | 3.188 KB | May 21 2025 00:30:04 | 1032 / wheelch2 | 0600 | |
wp-cron.php | 5.485 KB | November 13 2024 04:32:14 | 1032 / wheelch2 | 0644 | |
wp-links-opml.php | 2.443 KB | November 26 2022 21:01:17 | 1032 / wheelch2 | 0644 | |
wp-load.php | 3.988 KB | May 21 2025 00:30:03 | 1032 / wheelch2 | 0444 | |
wp-login.php | 50.209 KB | April 16 2025 03:31:48 | 1032 / wheelch2 | 0644 | |
wp-mail.php | 8.522 KB | April 16 2025 03:31:48 | 1032 / wheelch2 | 0644 | |
wp-settings.php | 29.376 KB | May 21 2025 00:30:04 | 1032 / wheelch2 | 0644 | |
wp-signup.php | 33.707 KB | April 16 2025 03:31:48 | 1032 / wheelch2 | 0644 | |
wp-trackback.php | 4.982 KB | November 13 2024 04:32:14 | 1032 / wheelch2 | 0644 | |
xmlrpc.php | 3.13 KB | April 16 2025 03:31:48 | 1032 / wheelch2 | 0644 | |