PageSourceSearch

https://www.getcertificatetemplates.com/wp-content/plugins/mayosis…/library/user-follow/js/follow.js?ver=7.1.2

js getcertificatetemplates.com collected 2026-09-28 06:57:49 UTC 966 bytes, 33 lines download raw bytes

1jQuery(document).ready(function($) {
2    /*******************************
3     follow / unfollow a user
4     *******************************/
5    $( '.tec-follow-link' ).on('click', function(e) {
6        e.preventDefault();
7
8        var $this = $(this);
9
10        if( teconce_vars.logged_in != 'undefined' && teconce_vars.logged_in != 'true' ) {
11            alert( teconce_vars.login_required );
12            return;
13        }
14
15        var data      = {
16            action:    $this.hasClass('follow') ? 'follow' : 'unfollow',
17            user_id:   $this.data('user-id'),
18            follow_id: $this.data('follow-id'),
19            nonce:     teconce_vars.nonce
20        };
21
22        
23
24        $.post( teconce_vars.ajaxurl, data, function(response) {
25            if( response == 'success' ) {
26                $('.tec-follow-link').toggle();
27            } else {
28                alert( teconce_vars.processing_error );
29            }
30            
31        } );
32    });
33});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.