Custom link field to shortcode
-
Can you add new shortcode parameter to custom link for applications?
For example, I want to calc click statistics for my applications links.I am adding to abbbox shortcode parameter link=”https://bit.ly/someting”
For process it I’ve added custom code to functions.php:
remove_shortcode('apbbox'); add_shortcode('appbox', 'my_function');in my_function I use appbox class to process the output.
It will be really nice if you will add “link” parameter for shortcode or just filter/hook for output funciton.
I can also add own commit with this functionality if you tell me where I can contribute the code.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Custom link field to shortcode’ is closed to new replies.