Linux webm002.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
/
home
/
ariannadhf
/
www
/
wp-content
/
plugins
/
advanced-random-posts-widget
/
includes
/
/home/ariannadhf/www/wp-content/plugins/advanced-random-posts-widget/includes/shortcode.php
<?php /** * Shortcode helper */ /** * Display random posts with shortcode * * @since 0.0.1 */ function arpw_shortcode( $atts ) { // Get shortcode attr $args = shortcode_atts( arpw_get_default_args(), $atts ); // Load default style wp_enqueue_style( 'arpw-style' ); // Display the shortcode content return arpw_get_random_posts( $args, get_the_ID() ); } add_shortcode( 'arpw', 'arpw_shortcode' );