Skip to content

Commit

Permalink
+ website iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
asasvirtuais committed Sep 6, 2024
1 parent 9182f5d commit c8824fd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ WordPress plugin developed and maintained by Icaro Asas Virtuais.
- The updates are patch releases with versioning.
- I am using composer to install plugin update checker and any other php libraries I might use.
- A Github workflow creates a zip asset and issues a new release.

**Weekly Roadmap**
22 changes: 13 additions & 9 deletions src/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,19 @@
try {

add_action( 'admin_menu', function () {
add_menu_page(
'Asas Virtuais WP',
'Asas Virtuais',
'manage_options',
'asasvirtuais',
function () {
echo '<h1>Asas Virtuais WP</h1>';
}
);
try {
add_menu_page(
'Asas Virtuais WP',
'Asas Virtuais',
'manage_options',
'asasvirtuais',
function () {
echo '<h1>Asas Virtuais WP</h1><iframe src="https://asasvirtuais.dev"></iframe>';
}
);
} catch(error) {

}
} );

} catch (\Throwable $th) {
Expand Down

0 comments on commit c8824fd

Please sign in to comment.