Title: jkepler's Replies | WordPress.org

---

# jkepler

  [  ](https://wordpress.org/support/users/jkepler/)

 *   [Profile](https://wordpress.org/support/users/jkepler/)
 *   [Topics Started](https://wordpress.org/support/users/jkepler/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jkepler/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jkepler/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jkepler/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jkepler/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jkepler/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/jkepler/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/jkepler/replies/page/2/?output_format=md)

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Enqueuing js properly](https://wordpress.org/support/topic/enqueuing-js-properly/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/enqueuing-js-properly/#post-14240249)
 * Good afternoon,
 * Ok, so I place the “wp_enqueue_scripts” callback (enqueuing the js scripts) in
   the main plugin file, and nothing on the php to be loaded, correct?
 * I believe that I did not try this option.
 * Best regards
 * JKepler
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Enqueuing js properly](https://wordpress.org/support/topic/enqueuing-js-properly/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/enqueuing-js-properly/#post-14238732)
 * Hi bcwork
 * Thank you very much for your reply.
 * So, you are saying that the best solution is to write the directive – for example–**
   wp_enqueue_script(“my_js”, path_to_my_js, array( ‘jquery’),false,false)** (already
   calling jquery) in the php file that I am loading in the shortcode?
 * Best regards
 * JKepler
    -  This reply was modified 5 years, 1 month ago by [jkepler](https://wordpress.org/support/users/jkepler/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Software License Manager] After checking License](https://wordpress.org/support/topic/after-checking-license/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/after-checking-license/#post-12317761)
 * Good evening
 * Yes, of course. Once I check the license key, how can I disable my own custom
   plugin or prevent it to run unless the key is valid? Any average programmer, 
   can edit my code, and remove the check license routine. What are the best practices
   for implemeting license validation?
 * Kind regards,
 * JKepler
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Accept Stripe Payments] Possible improvement](https://wordpress.org/support/topic/possible-improvement/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/possible-improvement/#post-12285764)
 * Hi
 * Thanks for the link. Yes, it’s exactly what I was looking for. It is – however–
   a little expensive unfortunatly. But it makes the downloads optimized in security
   and retrieval. Nice work.
 * Best regards
 * JKepler
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Thank you page redirect](https://wordpress.org/support/topic/thank-you-page-redirect-3/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/thank-you-page-redirect-3/#post-10689697)
 * Hi
 * Yes – but not in this case. But, let’s forget the logic of my plugin (which works
   perfectly). Do you know how to retrieve the default “thank you page” url? I know
   how to modify it with a hook. But I admit I don’t know how to retrieve it.
 * Kind regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Thank you page redirect](https://wordpress.org/support/topic/thank-you-page-redirect-3/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/thank-you-page-redirect-3/#post-10689666)
 * Hi
 * Here’s the logic:
 * Add to cart > Checkout > Email > thank you
 * Kind regards
 * JKepler
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Thank you page redirect](https://wordpress.org/support/topic/thank-you-page-redirect-3/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/thank-you-page-redirect-3/#post-10689585)
 * Hi,
 * No, not that. I made a plugin, where after the checkout, the user is sent to 
   a page which processes his request, and sends his product by email. I want, after
   that, to redirect the user to the thank you page (as in a normal product).
 * Kind regards,
 * JKepler
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Jquery issue](https://wordpress.org/support/topic/jquery-issue-20/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-issue-20/#post-10335947)
 * Hi
 * Thanks Andrew 🙂
 * Kepler
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Jquery issue](https://wordpress.org/support/topic/jquery-issue-20/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-issue-20/#post-10335586)
 * Hi
 * It simply says the function does not exists (like if 2 jquery libs were being
   loaded). Also I got a console error regarding jquery.cookie (which I’m not using–
   only if the default template is).
 * Kepler
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Jquery issue](https://wordpress.org/support/topic/jquery-issue-20/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-issue-20/#post-10335522)
 * Hi
 * Yes, you are right. Still, if I remove my own jquery.min.js the script won’t 
   run in the autocomplete function.
 * Kepler
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Software License Manager] License and updates](https://wordpress.org/support/topic/license-and-updates/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [8 years ago](https://wordpress.org/support/topic/license-and-updates/#post-10207621)
 * Good evening,
 * I’m sorry for the late reply. Maybe I was seeing the code wrongly.
    As far as
   I understand, when we submit a query for a license we get 2 type of responses:
 * 1) Invalid license IF the license doesn’t exists: the json will have a tag ‘error_code’
   equal to 60
 * 2) The full license json, where error_code will be equal to 30, for example, 
   if it’s expired.
 * Is this so? Is the error_code field allways returned – if the licence exists –
   with the status?
 * Kind regards,
 * Kepler
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Software License Manager] License and updates](https://wordpress.org/support/topic/license-and-updates/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [8 years ago](https://wordpress.org/support/topic/license-and-updates/#post-10204662)
 * Hi,
 * Thanks for the reply. Never mind question number 2 – it’s not important.
 * Can you please tell me where in the code are the several responses of the API(
   like active, or expired, etc.) and what are the parameters received of the call
   response? That way I can habdle with an invalid license (block the plugin), an
   active (allow updates), and an expired (not block the plugin, but only the updates).
 * Kind regards,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Ultimate Member hook](https://wordpress.org/support/topic/ultimate-member-hook/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/ultimate-member-hook/#post-9851365)
 * Hi,
 * Yes I did. The proof is that if I place my validating code in the functions.php
   child theme, the validation is done correctly (it only allows what I want, otherwise
   gives a custom error message defined by me).
 * So with codes snippets the code is not being injected – whatever value I place
   in the custom field is accepted.
 * Kind regards
 * JKepler
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Ultimate Member hook](https://wordpress.org/support/topic/ultimate-member-hook/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/ultimate-member-hook/#post-9851216)
 * Hi
 * It doesn’t…I’m doing something wrong… Can you help me please with an example?
 * NOTE: If I place the code in function.php of the child template it works. With
   a code snippet plugin it doesn’t. So I must be placing the wrong code/hook
 * Kind regards
 * JKepler
    -  This reply was modified 8 years, 4 months ago by [jkepler](https://wordpress.org/support/users/jkepler/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Ultimate Member hook](https://wordpress.org/support/topic/ultimate-member-hook/)
 *  Thread Starter [jkepler](https://wordpress.org/support/users/jkepler/)
 * (@jkepler)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/ultimate-member-hook/#post-9850362)
 * Hi [@mansurahamed](https://wordpress.org/support/users/mansurahamed/)
 * Thanks for the reply. One question if I may: if I use “My Custom Functions” plugin,
   and add my code there, will it work right?
 * Kind regards
 * JKepler

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/jkepler/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/jkepler/replies/page/2/?output_format=md)