GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/saifookhan.com/wp-content/plugins/powerkit/modules/twitter/public/block/render.php
<?php
/**
 * X (Twitter) block template
 *
 * @var        $attributes - block attributes
 * @var        $options - layout options
 *
 * @link       https://codesupply.co
 * @since      1.0.0
 *
 * @package    PowerKit
 * @subpackage PowerKit/templates
 */

$params = array(
	'title'       => esc_html__( 'X (Twitter) Feed', 'powerkit' ),
	'number'      => $attributes['number'],
	'header'      => $attributes['showHeader'],
	'button'      => $attributes['showFollowButton'],
	'template'    => 'default',
	'is_block'    => true,
	'block_attrs' => $attributes,
);

echo '<div class="' . esc_attr( $attributes['className'] ) . '" ' . ( isset( $attributes['anchor'] ) ? ' id="' . esc_attr( $attributes['anchor'] ) . '"' : '' ) . '>';

// X (Twitter) output.
powerkit_twitter_get_recent( $params );

echo '</div>';