Support » Plugin: Custom Website Data » How to set data through PHP

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author DannyWeeks

    (@dannyweeks)

    Hi nirgalo,

    I will add this feature in over the next day or two.

    Thanks
    Danny

    Great! Thanks Danny.

    Plugin Author DannyWeeks

    (@dannyweeks)

    Hi nigalo,

    The plugin has been tested and updated. It is available for you to update in your plugin menu. You won’t lose any of your custom data when updating.

    I have fully documented the change in the user guide which you can get to from the dashboard of the plugin. But here is a quick guide to the new addition.

    The new function that has been added is cwd_updateThe($reference, $data). $reference is the ‘ref’ of the record you want to update and $data is the new data you want to add to the record. The $data can either be a string, numeric or an array.

    You can use this function anywhere in your template, the function will return true or false depending on whether it is successful or not.

    I am marking this issue as resolved now. If you could reconsider your review in light of the 1.2 update that would be great.

    If you have any other suggestions or queries please don’t hesitate to get in touch!

    Thank for your suggestion, I hope this helps.

    Danny

    Thanks Danny, updating the table works great with 1.2, thanks for the great support!

    It does not show up in the dashboard,
    WP Version 3.9.1
    CWD 1.4

    It is development site, with
    Custom Field Suit
    Linked Data From another DB

    have reinstalled,, reactivated but still cannot find on dashboard.

    Plugin Author DannyWeeks

    (@dannyweeks)

    Sorry I can’t replicate your problem. I have a clean install of WP 3.9.1 and installed Custom Field Suit & Linked Data From another DB then CWD and didn’t have any problems with CWD. I did have an issue with Linked Data From another DB with it using short php tags.

    actually at this point I find it is C F S that is blocking my CWD from showing up on my dash, This may be in conjunction with other plugins. But it does work with cfs deactivated. and once I get it up on screen I can now see your links to documentation and your other dev sites.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to set data through PHP’ is closed to new replies.