Sha256: 3a22882f575e9a9108f6adedc13d5adb041dd6f4d8756a98a0a2bc2a70ec70bb
Contents?: true
Size: 763 Bytes
Versions: 6
Compression:
Stored size: 763 Bytes
Contents
module WpWrapper module Modules module Plugins module TrackingCode def configure_tracking_code(tracking_code) options = { 'data[tracking_head][code]' => {:value => tracking_code, :type => :input}, 'data[tracking_head][disable]' => {:checked => false, :type => :checkbox}, 'data[tracking_footer][code]' => {:value => '', :type => :input}, 'data[tracking_footer][disable]' => {:checked => true, :type => :checkbox}, } return set_options_and_submit("options-general.php?page=tracking-code", {:method => /post/i}, options) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems