Skip to content

Multiple enhancements#40

Open
rahal wants to merge 13 commits into
JoeSz:masterfrom
Youniwemi:master
Open

Multiple enhancements#40
rahal wants to merge 13 commits into
JoeSz:masterfrom
Youniwemi:master

Conversation

@rahal

@rahal rahal commented Oct 23, 2022

Copy link
Copy Markdown
  • composer file to allow importing as composer vendor
  • Added support to type email and url
  • Fixed some php notices
  • Other small enhancements


$args = ( isset( $callback['args'] ) ) ? $callback['args'] : '';
$content = call_user_func( $callback['function'], $args );
$content .= call_user_func( $callback['function'], $args );

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, it should overwrite, but I can live with this solution too :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I needed to have the 'callback' complete the 'content', couldn't find an easier solution :)
Let me know if you like to add this behavior as an option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants