-1

Is there any way to call a function inside plugin with <a href='plugin-function'> tag? I need this to show user details which will not be bound to any action hook.

1 Answer 1

1

You can echo the return value of a function:

<a href='<?php echo plugin_function(); ?>'>

But without seeing the actual function, there is no way to give a more specific answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.