Skip to content

Instantly share code, notes, and snippets.

Created April 5, 2022 18:33
What would you like to do?
namespace Something;
class Shortcode {
public function __construct(public \WP_User $user )
public function callback() : string
$html = '';
//call other classed to make HTML
return $html;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment