We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current implementation: https://github.com/victorjonsson/Arlima/wiki/File-includes
Suggested API:
arlima_article_function( $arr=array() )
// Using a file as callback arlima_article_function(array( 'label' => 'Label for this function', 'description' => 'Description of this function', 'file' => 'path/to/some/file.php', 'args' => array( 'arg1' => 'default value', 'arg2' => 'other default value' ) )); // Using an anonymous function as callback arlima_article_function(array( 'label' => 'Label...', 'slug' => 'some-function-slug' 'callback' => function($args, $article, $list) { return 'the content...'; }, 'args' => array( 'arg1' => 'default value', 'arg2' => 'other default value' ) ));
Maybe there's some better name than article_function?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current implementation:
https://github.com/victorjonsson/Arlima/wiki/File-includes
Suggested API:
arlima_article_function( $arr=array() )
Examples:
Maybe there's some better name than article_function?
The text was updated successfully, but these errors were encountered: