Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.

Commit

Permalink
Updated README and added slugs to flush rewrite event
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcobb committed Oct 4, 2015
1 parent 340d6d6 commit efdb6d6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ your theme, widgets, or even your own plugins!
* Works in the background (never interrupts you or your visitors)
* Secure (API communication is encypted, and so are your credentials)

= Documentation =

The [http://www.wpccb.com/documentation/](official documentation) has more information, including code samples, hooks, filters, and links to tutorials.

== Installation ==

1. Upload the entire plugin folder to the `/wp-content/plugins/` directory
Expand Down
2 changes: 2 additions & 0 deletions admin/class-ccb-core-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ public function update_settings_callback( $new_settings, $previous_settings ) {
// trigger a flush_rewrite_rules event
$setting_array = array(
'groups-enabled',
'groups-slug',
'calendar-enabled',
'calendar-slug',
);

foreach ( $setting_array as $setting ) {
Expand Down
11 changes: 11 additions & 0 deletions admin/class-ccb-core-settings-section.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ public function render_section_about() {
allow the group to be publicly listed. A great way to cross reference if your group is publicly visible is to visit
<em style="white-space:nowrap;">{$w_group_list}</em> and see if the missing group shows up there.
</blockquote>
<h3>Documentation</h3>
<p>
The <a href="http://www.wpccb.com/documentation/" target="_blank">official documentation</a> has more information, including code samples, hooks &amp; filters, and links to tutorials.
</p>
<h3>Support</h3>
<p>
Support is limited, but if you have questions as a <strong>user</strong> of the plugin you can submit them on the official <a href="https://wordpress.org/support/plugin/church-community-builder-core-api" target="_blank">WordPress plugin support forum</a>.
If you're a Developer and would like to submit a bug report or pull request, you can do that on <a href="https://github.com/jaredcobb/ccb-core" target="_blank">GitHub</a>.
</p>
HTML;
}

Expand Down

0 comments on commit efdb6d6

Please sign in to comment.