![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/hessa.corals.io/wp-content/plugins/powerkit/modules/twitter/public/block/ |
<?php /** * 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__( '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'] ) . '"' : '' ) . '>'; // Twitter output. powerkit_twitter_get_recent( $params ); echo '</div>';