Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('toolset_button_show_popular_text', 'toolset_button_show_popular_text');
- function toolset_button_show_popular_text($text)
- {
- return 'my own popular';
- }
- add_filter('toolset_button_hide_popular_text', 'toolset_button_hide_popular_text');
- function toolset_button_hide_popular_text($text)
- {
- return 'my own hide';
- }
- add_filter('toolset_button_add_new_text', 'toolset_button_add_new_text');
- function toolset_button_add_new_text($text)
- {
- return 'my own add new';
- }
- add_filter('toolset_button_cancel_text', 'toolset_button_cancel_text');
- function toolset_button_cancel_text($text)
- {
- return 'my own cancel';
- }
- add_filter('toolset_button_add_text', 'toolset_button_add_text');
- function toolset_button_add_text($text)
- {
- return 'my own add';
- }
- add_filter('toolset_button_delete_repetition_text', 'toolset_button_delete_repetition_text', 10, 2);
- function toolset_button_delete_repetition_text($text, $config)
- {
- return 'my own delete repetition: '.$config['title'];
- }
- add_filter('toolset_button_add_repetition_text', 'toolset_button_add_repetition_text', 10, 2);
- function toolset_button_add_repetition_text($text, $config)
- {
- return 'my own add repetition: '.$config['title'];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement