Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Commonwell
/
broker-site
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fd4fb5eb
authored
2023-02-21 18:37:23 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
login_redirect
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
e21b8b07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
.user.ini
wp-content/themes/commonwell-broker/functions.php
.user.ini
View file @
fd4fb5e
upload_max_filesize
=
"100M"
post_max_size
=
"100M"
memory_limit
=
"100M"
\ No newline at end of file
upload_max_filesize
=
"1000M"
post_max_size
=
"1000M"
memory_limit
=
"1000M"
\ No newline at end of file
...
...
wp-content/themes/commonwell-broker/functions.php
View file @
fd4fb5e
...
...
@@ -262,6 +262,9 @@ function send_headers()
}
}
add_action
(
'template_redirect'
,
'send_headers'
);
/**
...
...
@@ -849,3 +852,8 @@ add_filter( 'send_password_change_email', '__return_false' );
add_filter
(
'gutenberg_use_widgets_block_editor'
,
'__return_false'
);
// Disables the block editor from managing widgets.
add_filter
(
'use_widgets_block_editor'
,
'__return_false'
);
add_filter
(
'login_redirect'
,
function
(
$url
,
$query
,
$user
)
{
return
home_url
();
},
10
,
3
);
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment