Created
April 5, 2022 18:33
-
-
Save Shelob9/0f11a704404eea2569e706395671a0f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
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